[ARVADOS] updated: 1.3.0-3226-gb23a4f438

Git user git at public.arvados.org
Fri Sep 25 22:04:42 UTC 2020


Summary of changes:
 .../test/functional/arvados/v1/users_controller_test.rb | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

       via  b23a4f4386ae1fba418b419a6f428071fcbe2707 (commit)
      from  1fb68cf0a5f6ad058a54d4f822385983b3504987 (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 b23a4f4386ae1fba418b419a6f428071fcbe2707
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Fri Sep 25 18:04:29 2020 -0400

    16874: Fix test.
    
    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 ea5d5b143..e0f7b8970 100644
--- a/services/api/test/functional/arvados/v1/users_controller_test.rb
+++ b/services/api/test/functional/arvados/v1/users_controller_test.rb
@@ -609,6 +609,23 @@ class Arvados::V1::UsersControllerTest < ActionController::TestCase
   test "setup user with send notification param true and verify email" do
     authorize_with :admin
 
+    Rails.configuration.Users.UserSetupMailText = %{
+<% if not @user.full_name.empty? -%>
+<%= @user.full_name %>,
+<% else -%>
+Hi there,
+<% end -%>
+
+Your Arvados shell account has been set up. Please visit the virtual machines page <% if Rails.configuration.Services.Workbench1.ExternalURL %>at
+
+<%= Rails.configuration.Services.Workbench1.ExternalURL %><%= "/" if !Rails.configuration.Services.Workbench1.ExternalURL.to_s.end_with?("/") %>users/<%= @user.uuid%>/virtual_machines <% else %><% end %>
+
+for connection instructions.
+
+Thanks,
+The Arvados team.
+}
+
     post :setup, params: {
       send_notification_email: 'true',
       user: {

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list