[ARVADOS] updated: 1.1.1-186-gafd47ec

Git user git at public.curoverse.com
Thu Dec 7 16:48:46 EST 2017


Summary of changes:
 services/api/test/integration/remote_user_test.rb | 2 ++
 1 file changed, 2 insertions(+)

       via  afd47ec89aae6fa96dfedc53420b998b50d48318 (commit)
      from  1b993cdda270016bcf82fcad7f2168659345aa0e (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 afd47ec89aae6fa96dfedc53420b998b50d48318
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Thu Dec 7 16:48:16 2017 -0500

    11453: Test username is not updated once assigned.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/services/api/test/integration/remote_user_test.rb b/services/api/test/integration/remote_user_test.rb
index 82d9ad1..f820bad4 100644
--- a/services/api/test/integration/remote_user_test.rb
+++ b/services/api/test/integration/remote_user_test.rb
@@ -106,8 +106,10 @@ class RemoteUsersTest < ActionDispatch::IntegrationTest
 
     # revive original token and re-authorize
     @stub_status = 200
+    @stub_content[:username] = 'blarney'
     get '/arvados/v1/users/current', {format: 'json'}, auth(remote: 'zbbbb')
     assert_response :success
+    assert_equal 'barney', json_response['username'], 'local username should not change once assigned'
   end
 
   test 'authenticate with remote token, remote username conflicts with local' do

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list