projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '11642-null-job-log' refs #11642
[arvados.git]
/
services
/
api
/
test
/
functional
/
arvados
/
v1
/
virtual_machines_controller_test.rb
diff --git
a/services/api/test/functional/arvados/v1/virtual_machines_controller_test.rb
b/services/api/test/functional/arvados/v1/virtual_machines_controller_test.rb
index 329bc1589afc6a2298472d739524fc094e7f0723..626d7f04b05184514d9a96ab64bd56574d89db11 100644
(file)
--- a/
services/api/test/functional/arvados/v1/virtual_machines_controller_test.rb
+++ b/
services/api/test/functional/arvados/v1/virtual_machines_controller_test.rb
@@
-33,7
+33,6
@@
class Arvados::V1::VirtualMachinesControllerTest < ActionController::TestCase
test "groups is an empty list by default" do
get_logins_for(:testvm2)
active_login = find_login(:active)
test "groups is an empty list by default" do
get_logins_for(:testvm2)
active_login = find_login(:active)
- perm = links(:active_can_login_to_testvm2)
assert_equal([], active_login["groups"])
end
assert_equal([], active_login["groups"])
end
@@
-60,8
+59,8
@@
class Arvados::V1::VirtualMachinesControllerTest < ActionController::TestCase
get :logins, id: vm.uuid
assert_response :success
assert_equal 1, json_response['items'].length
get :logins, id: vm.uuid
assert_response :success
assert_equal 1, json_response['items'].length
- assert_
equal nil,
json_response['items'][0]['public_key']
- assert_
equal nil,
json_response['items'][0]['authorized_key_uuid']
+ assert_
nil
json_response['items'][0]['public_key']
+ assert_
nil
json_response['items'][0]['authorized_key_uuid']
assert_equal u.uuid, json_response['items'][0]['user_uuid']
assert_equal 'bobblogin', json_response['items'][0]['username']
end
assert_equal u.uuid, json_response['items'][0]['user_uuid']
assert_equal 'bobblogin', json_response['items'][0]['username']
end