aboutsummaryrefslogtreecommitdiffstats
path: root/models/db/paginator/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/db/paginator/main_test.go')
-rw-r--r--models/db/paginator/main_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/models/db/paginator/main_test.go b/models/db/paginator/main_test.go
index 601ed89710..1127987e53 100644
--- a/models/db/paginator/main_test.go
+++ b/models/db/paginator/main_test.go
@@ -12,5 +12,7 @@ import (
)
func TestMain(m *testing.M) {
- unittest.MainTest(m, filepath.Join("..", "..", ".."))
+ unittest.MainTest(m, &unittest.TestOptions{
+ GiteaRootPath: filepath.Join("..", "..", ".."),
+ })
}