mirror of https://github.com/go-gitea/gitea.git
Fix test
This commit is contained in:
parent
ddaf748d4b
commit
5aeca11aef
|
@ -23,7 +23,7 @@ func TestPullAllowMaintainerEdit(t *testing.T) {
|
||||||
session := loginUser(t, "user1")
|
session := loginUser(t, "user1")
|
||||||
user1 := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 1})
|
user1 := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 1})
|
||||||
forkedName := "repo1"
|
forkedName := "repo1"
|
||||||
testRepoFork(t, session, "org3", "repo5", "user1", forkedName)
|
testRepoFork(t, session, "org3", "repo5", "user1", forkedName, "master")
|
||||||
defer func() {
|
defer func() {
|
||||||
testDeleteRepository(t, session, "user1", forkedName)
|
testDeleteRepository(t, session, "user1", forkedName)
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in New Issue