From ea164a8d489ecd24f7746db01de1f752a09d3184 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Fri, 15 May 2020 10:52:26 -0700 Subject: [PATCH] Fix test --- command/pr_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {