18339: Merge branch 'main'
[arvados.git] / 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