16007: Special handing for users with permissions on other users
[arvados.git] / services / api / test / unit / user_test.rb
index 596cd415fb27f12ffc2c635d6642547dcda3df3c..7fcd36d7091a4c7a00a9af6ae50f10f5a413871d 100644 (file)
@@ -478,15 +478,6 @@ class UserTest < ActiveSupport::TestCase
 
     vm = VirtualMachine.create
 
-    # Set up the bogus Link
-    bad_uuid = 'zzzzz-tpzed-xyzxyzxyzxyzxyz'
-
-    resp_link = Link.create ({tail_uuid: email, link_class: 'permission',
-        name: 'can_login', head_uuid: bad_uuid})
-    resp_link.save(validate: false)
-
-    verify_link resp_link, 'permission', 'can_login', email, bad_uuid
-
     response = user.setup(repo_name: 'foo/testrepo',
                           vm_uuid: vm.uuid)