mirror of https://github.com/go-gitea/gitea.git
Remove unnecessary function
parent
89e9efb4ac
commit
77d8896be0
|
@ -34,9 +34,6 @@ func TestCreateFile(t *testing.T) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
func testCreateFileOnNewBranch(t *testing.T) {
|
|
||||||
}
|
|
||||||
|
|
||||||
func testCreateFile(t *testing.T, session *TestSession, user, repo, branch, filePath, content, newBranch string) *httptest.ResponseRecorder {
|
func testCreateFile(t *testing.T, session *TestSession, user, repo, branch, filePath, content, newBranch string) *httptest.ResponseRecorder {
|
||||||
// Request editor page
|
// Request editor page
|
||||||
newURL := fmt.Sprintf("/%s/%s/_new/%s/", user, repo, branch)
|
newURL := fmt.Sprintf("/%s/%s/_new/%s/", user, repo, branch)
|
||||||
|
|
Loading…
Reference in New Issue