[SEMVER] store SemVer in ForgejoSemVer after a database upgrade
https://codeberg.org/forgejo/forgejo/pulls/1543 (cherry picked from commit6146ef6263
) (cherry picked from commit45b9005ad9
) (cherry picked from commit4622cc5cc4
) (cherry picked from commited39cdc54c
) (cherry picked from commitb837dbd434
) (cherry picked from commita0abe20b1b
) (cherry picked from commit6f5c2f902e
) (cherry picked from commitefbae03e02
) (cherry picked from commita763b5949f
) (cherry picked from commitd611dc07ac
) (cherry picked from commitf31264ab57
) (cherry picked from commita32a1fcd94
) (cherry picked from commit568711e103
) (cherry picked from commit80ef964857
) (cherry picked from commit66af8f2ae8
) (cherry picked from commit7a1c9fa236
) (cherry picked from commitf140388ae4
)
This commit is contained in:
parent
27ee15e86e
commit
3518a1d4cd
|
@ -3,7 +3,6 @@
|
||||||
package semver
|
package semver
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"path/filepath"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"code.gitea.io/gitea/models/unittest"
|
"code.gitea.io/gitea/models/unittest"
|
||||||
|
@ -14,7 +13,5 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMain(m *testing.M) {
|
func TestMain(m *testing.M) {
|
||||||
unittest.MainTest(m, &unittest.TestOptions{
|
unittest.MainTest(m)
|
||||||
GiteaRootPath: filepath.Join("..", "..", ".."),
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue