X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a93ef946eb1e73ee190ea4ff19c4f9278235530c..bef56b9a22efac9ce73006623080e84a0b57f243:/lib/controller/handler_test.go?ds=sidebyside diff --git a/lib/controller/handler_test.go b/lib/controller/handler_test.go index 2f9280e11b..963fd11594 100644 --- a/lib/controller/handler_test.go +++ b/lib/controller/handler_test.go @@ -124,9 +124,9 @@ func (s *HandlerSuite) TestProxyNotFound(c *check.C) { } func (s *HandlerSuite) TestProxyRedirect(c *check.C) { - req := httptest.NewRequest("GET", "https://example.org:1234/login?return_to=foo", nil) + req := httptest.NewRequest("GET", "https://0.0.0.0:1/login?return_to=foo", nil) resp := httptest.NewRecorder() s.handler.ServeHTTP(resp, req) c.Check(resp.Code, check.Equals, http.StatusFound) - c.Check(resp.Header().Get("Location"), check.Matches, `https://example\.org:1234/auth/joshid\?return_to=foo&?`) + c.Check(resp.Header().Get("Location"), check.Matches, `https://0.0.0.0:1/auth/joshid\?return_to=foo&?`) }