aboutsummaryrefslogtreecommitdiffstats
path: root/modules/indexer/stats/indexer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/indexer/stats/indexer_test.go')
-rw-r--r--modules/indexer/stats/indexer_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/indexer/stats/indexer_test.go b/modules/indexer/stats/indexer_test.go
index b5c58ab25a..c8bd8d1783 100644
--- a/modules/indexer/stats/indexer_test.go
+++ b/modules/indexer/stats/indexer_test.go
@@ -23,7 +23,9 @@ import (
)
func TestMain(m *testing.M) {
- unittest.MainTest(m, filepath.Join("..", "..", ".."))
+ unittest.MainTest(m, &unittest.TestOptions{
+ GiteaRootPath: filepath.Join("..", "..", ".."),
+ })
}
func TestRepoStatsIndex(t *testing.T) {