From 64fcb25de359de5c3956e6f7ce3241423889c068 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 2 Oct 2023 17:09:09 +0200 Subject: [PATCH] [UPGRADE] run sanity checks before the database is upgraded https://codeberg.org/forgejo/forgejo/pulls/1543 (cherry picked from commit fbb71f464b9566ed83a3e8b713e433712ea71ece) (cherry picked from commit 650f849c84809002a7cd31008e53aff1202a0590) (cherry picked from commit 25e0d33dfefcf723dd9f260809a968fb022e8bad) (cherry picked from commit 222b70e504df3e49711d25c3ef196bc73658a6cb) (cherry picked from commit 4be04627a75422de0de74940fb14271c377c2929) --- 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) }