mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-27 04:07:08 +00: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
16
routers/repo/main_test.go
Normal file
16
routers/repo/main_test.go
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Copyright 2017 The Gitea Authors. All rights reserved.
|
||||
// Use of this source code is governed by a MIT-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package repo
|
||||
|
||||
import (
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"code.gitea.io/gitea/models"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
models.MainTest(m, filepath.Join("..", ".."))
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue