Skip to content

Commit 53c4f6f

Browse files
committed
fix tests
1 parent 8f54636 commit 53c4f6f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

integrations/editor_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ func testEditFileToNewBranch(t *testing.T, session *TestSession, user, repo, bra
150150
return resp
151151
}
152152

153-
func testEditFileToNewBranchAndSendPull(t *testing.T, session *TestSession, user, repo, branch, targetBranch, filePath string) *TestResponse {
154-
testEditFileToNewBranch(t, session, user, repo, branch, targetBranch, filePath)
153+
func testEditFileToNewBranchAndSendPull(t *testing.T, session *TestSession, user, repo, branch, targetBranch, filePath, newContent string) *TestResponse {
154+
testEditFileToNewBranch(t, session, user, repo, branch, targetBranch, filePath, newContent)
155155

156156
url := path.Join(user, repo, "compare", branch+"..."+targetBranch)
157157

integrations/repo_pull_status_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func TestRepoPullsWithStatus(t *testing.T) {
3636
var size = 5
3737
// create some pulls
3838
for i := 0; i < size; i++ {
39-
testEditFileToNewBranchAndSendPull(t, session, "user2", "repo16", "master", fmt.Sprintf("test%d", i), "readme.md")
39+
testEditFileToNewBranchAndSendPull(t, session, "user2", "repo16", "master", fmt.Sprintf("test%d", i), "readme.md", fmt.Sprintf("test%d", i))
4040
}
4141

4242
// look for repo's pulls page

0 commit comments

Comments
 (0)