diff --git a/client/httpclient_test.go b/client/httpclient_test.go index 4807d7a6..fc670411 100644 --- a/client/httpclient_test.go +++ b/client/httpclient_test.go @@ -258,7 +258,7 @@ func TestRedirectHTTP(t *testing.T) { { Name: "check redirect returns error", Redirector: redirectServer("http://"+redirectee.Endpoint, 302), - MockRedirect: mockRedirect(t, 1, errors.New("hello")), + MockRedirect: mockRedirectHTTP(t, 1, errors.New("hello")), ExpError: true, }, }