This commit is contained in:
Lunny Xiao 2024-06-12 18:53:37 +08:00
parent ddaf748d4b
commit 5aeca11aef
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}() }()