diff options
Diffstat (limited to 'services/migrations/main_test.go')
-rw-r--r-- | services/migrations/main_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/migrations/main_test.go b/services/migrations/main_test.go index b040df83d1..ad9bc9c731 100644 --- a/services/migrations/main_test.go +++ b/services/migrations/main_test.go @@ -17,7 +17,9 @@ import ( ) func TestMain(m *testing.M) { - unittest.MainTest(m, filepath.Join("..", "..")) + unittest.MainTest(m, &unittest.TestOptions{ + GiteaRootPath: filepath.Join("..", ".."), + }) } func timePtr(t time.Time) *time.Time { |