forked from NYANDEV/forgejo
[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) (cherry picked from commit64fcb25de3
) (cherry picked from commit740943d6b0
) (cherry picked from commit 3c096abf11abc94492f412315638bdf64c2ec1b9) (cherry picked from commit da04dcb099ff4193818aebd98016c48e16faa444) (cherry picked from commit b881d83f1c0ecc281aa00f0c4b327d141a247d31) (cherry picked from commit 7e7492b996dff5d54888831a3e2a43b838c02259) (cherry picked from commit 869edd3b0a501f128d41472f56378dc696b7e67e) (cherry picked from commit d96fbda2741b975594b13560cc25759f665e6d28) (cherry picked from commit 09c00cbd00258c12d5606f471890e62c914c765e)
This commit is contained in:
parent
66af8f2ae8
commit
10a1bf8122
1 changed files with 1 additions and 4 deletions
|
@ -3,7 +3,6 @@
|
||||||
package forgejo
|
package forgejo
|
||||||
|
|
||||||
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 a new issue