From ff204a797f620b5146c1084f3e80c22aa7135bff Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 12 Dec 2017 23:22:07 +0800 Subject: [PATCH] fix tests --- integrations/editor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/editor_test.go b/integrations/editor_test.go index 8838c204f..7c26fbdac 100644 --- a/integrations/editor_test.go +++ b/integrations/editor_test.go @@ -150,7 +150,7 @@ func testEditFileToNewBranch(t *testing.T, session *TestSession, user, repo, bra return resp } -func testEditFileToNewBranchAndSendPull(t *testing.T, session *TestSession, user, repo, branch, targetBranch, filePath, newContent string) *TestResponse { +func testEditFileToNewBranchAndSendPull(t *testing.T, session *TestSession, user, repo, branch, targetBranch, filePath, newContent string) *httptest.ResponseRecorder { testEditFileToNewBranch(t, session, user, repo, branch, targetBranch, filePath, newContent) url := path.Join(user, repo, "compare", branch+"..."+targetBranch)