mirror of
https://gitee.com/gitea/gitea
synced 2025-12-25 01:36:34 +08:00
Use a struct as test options (#19393)
* Use a struct as test options * Fix name * Fix test
This commit is contained in:
@@ -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