17829: Fix test
authorPeter Amstutz <peter.amstutz@curii.com>
Tue, 22 Jun 2021 21:11:51 +0000 (17:11 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Thu, 24 Jun 2021 14:10:55 +0000 (10:10 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

services/api/test/integration/login_workflow_test.rb

index f0741fcfde9f2fe27297720f5bbc4bb88af9b418..ba3b2ac6e3198bbc0ad1eee986b71a2eb80db444 100644 (file)
@@ -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