From 465d79c490f67c5d0eb8c6b311fdc8c7c9bfb679 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Tue, 22 Jun 2021 17:11:51 -0400 Subject: [PATCH] 17829: Fix test Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- services/api/test/integration/login_workflow_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/api/test/integration/login_workflow_test.rb b/services/api/test/integration/login_workflow_test.rb index f0741fcfde..ba3b2ac6e3 100644 --- a/services/api/test/integration/login_workflow_test.rb +++ b/services/api/test/integration/login_workflow_test.rb @@ -30,7 +30,7 @@ class LoginWorkflowTest < ActionDispatch::IntegrationTest params: {specimen: {}}, headers: {'HTTP_ACCEPT' => 'text/html'}) assert_response 302 - assert_match(%r{/auth/joshid$}, @response.headers['Location'], + assert_match(%r{http://www.example.com/login$}, @response.headers['Location'], "HTML login prompt did not include expected redirect") end end -- 2.30.2