[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 commit 64fcb25de359de5c3956e6f7ce3241423889c068) (cherry picked from commit 740943d6b0df5793d827f5097fbfd152582e0c73) (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) (cherry picked from commit 10a1bf8122740f68fbb1062bc2f4b5d04086c72a) (cherry picked from commit 2eb223c0f6fb11310aeabf1e85a0e45b061d8f7c) (cherry picked from commit 1eaba14638af185453c78e092a9a5088b8c76d79)
This commit is contained in:
parent
3518a1d4cd
commit
563b7f8345
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