mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 17:17:19 +00:00
Unit tests for wiki routers (#3022)
This commit is contained in:
@ -297,7 +297,7 @@ func TestCommitRepoAction(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, s := range samples {
|
||||
prepareTestEnv(t)
|
||||
PrepareTestEnv(t)
|
||||
|
||||
user := AssertExistsAndLoadBean(t, &User{ID: s.userID}).(*User)
|
||||
repo := AssertExistsAndLoadBean(t, &Repository{ID: s.repositoryID, OwnerID: user.ID}).(*Repository)
|
||||
|
Reference in New Issue
Block a user