X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d6446b03e2f5d5079a870bdd7b963456dc12b485..4658a55dc90567b87f484578c91f4f04db9623ab:/services/api/test/functional/arvados/v1/users_controller_test.rb diff --git a/services/api/test/functional/arvados/v1/users_controller_test.rb b/services/api/test/functional/arvados/v1/users_controller_test.rb index 16271c9e8f..07e0b71d86 100644 --- a/services/api/test/functional/arvados/v1/users_controller_test.rb +++ b/services/api/test/functional/arvados/v1/users_controller_test.rb @@ -1063,23 +1063,28 @@ The Arvados team. 'is_active' => true, 'is_admin' => true, 'prefs' => {'foo' => 'bar'}, + 'is_invited' => true }, newuuid => { 'first_name' => 'noot', 'email' => 'root@remot.example.com', 'username' => '', + 'is_invited' => true }, unchanginguuid => { 'email' => 'root@unchanging.example.com', 'prefs' => {'foo' => {'bar' => 'baz'}}, + 'is_invited' => true }, conflictinguuid1 => { 'email' => 'root@conflictingname1.example.com', - 'username' => 'active' + 'username' => 'active', + 'is_invited' => true }, conflictinguuid2 => { 'email' => 'root@conflictingname2.example.com', - 'username' => 'federatedactive' + 'username' => 'federatedactive', + 'is_invited' => true }, }}) assert_response(:success) @@ -1096,7 +1101,7 @@ The Arvados team. assert_equal(1, Log.where(object_uuid: unchanginguuid).count) end - NON_ADMIN_USER_DATA = ["uuid", "kind", "is_active", "email", "first_name", + NON_ADMIN_USER_DATA = ["uuid", "kind", "is_active", "is_admin", "is_invited", "email", "first_name", "last_name", "username", "can_write", "can_manage"].sort def check_non_admin_index