[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) (cherry picked from commit efbae03e021bad051e685ca702265212c2d58c32) (cherry picked from commit a763b5949f8be1317e0b25d7c5b093d33a3f5216) (cherry picked from commit d611dc07ac34033c63802625f13795c4fbe25282) (cherry picked from commit f31264ab575ea4f973f1714af3f628b57c20a5fa) (cherry picked from commit a32a1fcd949ab349902074ea9719602277f95ff4) (cherry picked from commit 568711e1034df110c212517964654b4270583ea8) (cherry picked from commit 80ef96485716fc1f339b97139ddd9c749d9b7526) (cherry picked from commit 66af8f2ae877b1dff82f724ebc9e5ab231bbb282) (cherry picked from commit 7a1c9fa23623b57943c5c377ec8a43bac14c5539) (cherry picked from commit f140388ae451cd0ca028bec57a038284b2da353c)
This commit is contained in:
parent
27ee15e86e
commit
3518a1d4cd
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue