From efbae03e021bad051e685ca702265212c2d58c32 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 2 Oct 2023 17:08:42 +0200 Subject: [PATCH] [SEMVER] store SemVer in ForgejoSemVer after a database upgrade https://codeberg.org/forgejo/forgejo/pulls/1543 (cherry picked from commit 6146ef6263893cc367e8504de8e80f78231d2f49) (cherry picked from commit 45b9005ad935b20b56be6c404391ff2932875035) (cherry picked from commit 4622cc5cc4764afe01a2dc6e1d56c8b73d7f70c6) (cherry picked from commit ed39cdc54cda89bf864b8e09d555751909af651d) (cherry picked from commit b837dbd434659ee5bf769dd9b30b6be062453698) (cherry picked from commit a0abe20b1bb4808805796b9073719fea60325443) (cherry picked from commit 6f5c2f902e5c2ddaf6bed6909da9e2b4d864aa36) --- models/forgejo/semver/main_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/models/forgejo/semver/main_test.go b/models/forgejo/semver/main_test.go index 34c4f55395..fa56182627 100644 --- a/models/forgejo/semver/main_test.go +++ b/models/forgejo/semver/main_test.go @@ -3,7 +3,6 @@ package semver 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) }