From fbb71f464b9566ed83a3e8b713e433712ea71ece Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 2 Oct 2023 17:09:09 +0200 Subject: [PATCH] [v1.22] [UPGRADE] run sanity checks before the database is upgraded https://codeberg.org/forgejo/forgejo/pulls/1543 --- services/forgejo/main_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/services/forgejo/main_test.go b/services/forgejo/main_test.go index 70b6e7a15f..e88b7d0263 100644 --- a/services/forgejo/main_test.go +++ b/services/forgejo/main_test.go @@ -3,7 +3,6 @@ package forgejo import ( - "path/filepath" "testing" "code.gitea.io/gitea/models/unittest" @@ -14,7 +13,5 @@ import ( ) func TestMain(m *testing.M) { - unittest.MainTest(m, &unittest.TestOptions{ - GiteaRootPath: filepath.Join("..", ".."), - }) + unittest.MainTest(m) }