diff options
Diffstat (limited to 'services/repository/files/content_test.go')
-rw-r--r-- | services/repository/files/content_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/repository/files/content_test.go b/services/repository/files/content_test.go index 84bb1c2e02..8a3e589bdf 100644 --- a/services/repository/files/content_test.go +++ b/services/repository/files/content_test.go @@ -16,7 +16,9 @@ import ( ) func TestMain(m *testing.M) { - unittest.MainTest(m, filepath.Join("..", "..", "..")) + unittest.MainTest(m, &unittest.TestOptions{ + GiteaRootPath: filepath.Join("..", "..", ".."), + }) } func getExpectedReadmeContentsResponse() *api.ContentsResponse { |