diff --git a/command/pr_test.go b/command/pr_test.go index 229dc9e24..2310be2a5 100644 --- a/command/pr_test.go +++ b/command/pr_test.go @@ -982,10 +982,10 @@ func initWithStubs(branch string, stubs ...stubResponse) { initBlankContext("", "OWNER/REPO", branch) http := initFakeHTTP() http.StubRepoResponse("OWNER", "REPO") - for _, s := range stubs { http.StubResponse(s.ResponseCode, s.ResponseBody) } + http.StubRepoResponse("OWNER", "REPO") } func TestPrMerge(t *testing.T) {