[ARVADOS] updated: 1.3.0-1571-g168c5a9a5
Git user
git at public.curoverse.com
Thu Sep 5 19:01:16 UTC 2019
Summary of changes:
services/api/test/unit/user_test.rb | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
via 168c5a9a50b93f736b15b7a6c56af900b90aab39 (commit)
from 2fd0a7680e075431baa61288f34bf400ccaae849 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 168c5a9a50b93f736b15b7a6c56af900b90aab39
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date: Thu Sep 5 15:00:54 2019 -0400
15558: Fix tests
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>
diff --git a/services/api/test/unit/user_test.rb b/services/api/test/unit/user_test.rb
index 9fafeb0b2..28685267b 100644
--- a/services/api/test/unit/user_test.rb
+++ b/services/api/test/unit/user_test.rb
@@ -805,8 +805,9 @@ class UserTest < ActiveSupport::TestCase
u = User.register({"email" => "active-user at arvados.local", "identity_url" => "different-identity-url"})
active = User.find_by_uuid(users(:active).uuid)
assert_equal active.uuid, u.uuid
- assert_equal "different-identity-url", active.identity_url
assert_equal "active-user at arvados.local", active.email
+ # identity_url is not updated
+ assert_equal "https://active-user.openid.local", active.identity_url
end
test "lookup user by alternate email" do
@@ -818,9 +819,11 @@ class UserTest < ActiveSupport::TestCase
active = User.find_by_uuid(users(:active).uuid)
assert_equal active.uuid, u.uuid
- # identity_url and email of 'active' should be updated
- assert_equal "different-identity-url", active.identity_url
+ # email should be updated
assert_equal "user at parent-company.com", active.email
+
+ # identity_url is not updated
+ assert_equal "https://active-user.openid.local", active.identity_url
end
test "register new user" do
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list