fix tests
This commit is contained in:
parent
facfbf9200
commit
ff204a797f
|
|
@ -150,7 +150,7 @@ func testEditFileToNewBranch(t *testing.T, session *TestSession, user, repo, bra
|
||||||
return resp
|
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)
|
testEditFileToNewBranch(t, session, user, repo, branch, targetBranch, filePath, newContent)
|
||||||
|
|
||||||
url := path.Join(user, repo, "compare", branch+"..."+targetBranch)
|
url := path.Join(user, repo, "compare", branch+"..."+targetBranch)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user