[ARVADOS] updated: 1.3.0-2100-gb871183da

Git user git at public.arvados.org
Wed Jan 22 17:23:22 UTC 2020


Summary of changes:
 services/api/test/functional/arvados/v1/users_controller_test.rb | 2 +-
 services/api/test/unit/user_notifier_test.rb                     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

       via  b871183da9ae071b277bfbd362f1cd3b0bde7076 (commit)
      from  ee38970362aa72e8aeb875ce15028fffd7834a3b (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 b871183da9ae071b277bfbd362f1cd3b0bde7076
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Wed Jan 22 12:23:07 2020 -0500

    Fix test refs #16051
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

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 0bc941acc..753e707b6 100644
--- a/services/api/test/functional/arvados/v1/users_controller_test.rb
+++ b/services/api/test/functional/arvados/v1/users_controller_test.rb
@@ -595,7 +595,7 @@ class Arvados::V1::UsersControllerTest < ActionController::TestCase
 
     assert_equal Rails.configuration.Users.UserNotifierEmailFrom, setup_email.from[0]
     assert_equal 'foo at example.com', setup_email.to[0]
-    assert_equal 'Welcome to Arvados - shell account enabled', setup_email.subject
+    assert_equal 'Welcome to Arvados - account enabled', setup_email.subject
     assert (setup_email.body.to_s.include? 'Your Arvados shell account has been set up'),
         'Expected Your Arvados shell account has been set up in email body'
     assert (setup_email.body.to_s.include? "#{Rails.configuration.Services.Workbench1.ExternalURL}users/#{created['uuid']}/virtual_machines"), 'Expected virtual machines url in email body'
diff --git a/services/api/test/unit/user_notifier_test.rb b/services/api/test/unit/user_notifier_test.rb
index f409d231f..da6c7fdb8 100644
--- a/services/api/test/unit/user_notifier_test.rb
+++ b/services/api/test/unit/user_notifier_test.rb
@@ -16,7 +16,7 @@ class UserNotifierTest < ActionMailer::TestCase
     # Test the body of the sent email contains what we expect it to
     assert_equal Rails.configuration.Users.UserNotifierEmailFrom, email.from.first
     assert_equal user.email, email.to.first
-    assert_equal 'Welcome to Arvados - shell account enabled', email.subject
+    assert_equal 'Welcome to Arvados - account enabled', email.subject
     assert (email.body.to_s.include? 'Your Arvados shell account has been set up'),
         'Expected Your Arvados shell account has been set up in email body'
     assert (email.body.to_s.include? Rails.configuration.Services.Workbench1.ExternalURL.to_s),

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list