mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-25 12:00:01 +02:00
Unit tests for wiki routers (#3022)
This commit is contained in:
parent
82e8486f13
commit
91f3d77ceb
9 changed files with 285 additions and 69 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue