Skip to content

Commit

Permalink
Use mockRedirectHTTP in http tests
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Chlebek <[email protected]>
  • Loading branch information
echlebek committed Jan 2, 2025
1 parent 22851bb commit 42050ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/httpclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
}
Expand Down

0 comments on commit 42050ae

Please sign in to comment.