mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 13:45:19 +00:00
[UPGRADE] run sanity checks before the database is upgraded
https://codeberg.org/forgejo/forgejo/pulls/1543 (cherry picked from commitfbb71f464b
) (cherry picked from commit650f849c84
) (cherry picked from commit25e0d33dfe
) (cherry picked from commit222b70e504
) (cherry picked from commit4be04627a7
) (cherry picked from commit64fcb25de3
) (cherry picked from commit740943d6b0
) (cherry picked from commit3c096abf11
) (cherry picked from commitda04dcb099
) (cherry picked from commitb881d83f1c
) (cherry picked from commit7e7492b996
) (cherry picked from commit869edd3b0a
) (cherry picked from commitd96fbda274
) (cherry picked from commit09c00cbd00
) (cherry picked from commit10a1bf8122
)
This commit is contained in:
parent
7a1c9fa236
commit
2eb223c0f6
|
@ -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