12995: Fix tests
authorPeter Amstutz <pamstutz@veritasgenetics.com>
Mon, 21 May 2018 16:29:19 +0000 (12:29 -0400)
committerPeter Amstutz <pamstutz@veritasgenetics.com>
Mon, 21 May 2018 16:29:19 +0000 (12:29 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

apps/workbench/test/integration/link_account_test.rb

index b27542060e4f108ac29820804f54fb8a9951b0c6..9c22f5a7721a7b388111ecdac8133a7a0e9302e7 100644 (file)
@@ -25,6 +25,10 @@ class LinkAccountTest < ActionDispatch::IntegrationTest
       s.shutdown
     }
 
+    s.mount_proc("/logout"){|req, res|
+      res.set_redirect(WEBrick::HTTPStatus::TemporaryRedirect, req.query["return_to"])
+    }
+
     Thread.new do
       s.start
     end