mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 01:19:13 +02:00
Use a struct as test options (#19393)
* Use a struct as test options * Fix name * Fix test
This commit is contained in:
1 parent
4dabc212c7
commit
b8911fb456
40 files changed
+210
-100
No files matched your search
+3
-1
@@ -37,5 +37,7 @@ func TestFixturesAreConsistent(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
unittest.MainTest(m, "..")
|
||||
unittest.MainTest(m, &unittest.TestOptions{
|
||||
GiteaRootPath: "..",
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user