diff options
Diffstat (limited to 'services/repository/archiver/archiver_test.go')
-rw-r--r-- | services/repository/archiver/archiver_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/repository/archiver/archiver_test.go b/services/repository/archiver/archiver_test.go index b7fb6cb0ca..24437ce76c 100644 --- a/services/repository/archiver/archiver_test.go +++ b/services/repository/archiver/archiver_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 TestArchive_Basic(t *testing.T) { |