mirror of
1
Fork 0

[v1.22] [UPGRADE] run sanity checks before the database is upgraded

https://codeberg.org/forgejo/forgejo/pulls/1543
This commit is contained in:
Earl Warren 2023-10-02 17:09:09 +02:00
parent 6146ef6263
commit fbb71f464b
No known key found for this signature in database
GPG Key ID: 0579CB2928A78A00
1 changed files with 1 additions and 4 deletions

View File

@ -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("..", ".."),
})
} }