diff options
Diffstat (limited to 'routers/common')
-rw-r--r-- | routers/common/errpage_test.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/routers/common/errpage_test.go b/routers/common/errpage_test.go index ea9a9e745c..58a633b2a4 100644 --- a/routers/common/errpage_test.go +++ b/routers/common/errpage_test.go @@ -9,7 +9,6 @@ import ( "net/http" "net/http/httptest" "net/url" - "path/filepath" "testing" "code.gitea.io/gitea/models/unittest" @@ -35,7 +34,5 @@ func TestRenderPanicErrorPage(t *testing.T) { } func TestMain(m *testing.M) { - unittest.MainTest(m, &unittest.TestOptions{ - GiteaRootPath: filepath.Join("..", ".."), - }) + unittest.MainTest(m) } |