mirror of
1
Fork 0
This commit is contained in:
6543 2022-06-14 14:12:00 +02:00
parent 2706e89138
commit 900ceb2dfd
No known key found for this signature in database
GPG Key ID: C99B82E40B027BAE
4 changed files with 12 additions and 9 deletions

View File

@ -8,8 +8,9 @@ import (
"path/filepath"
"testing"
_ "code.gitea.io/gitea/models"
"code.gitea.io/gitea/models/unittest"
_ "code.gitea.io/gitea/models"
)
func TestMain(m *testing.M) {

View File

@ -8,13 +8,14 @@ import (
"path/filepath"
"testing"
_ "code.gitea.io/gitea/models"
issues_model "code.gitea.io/gitea/models/issues"
_ "code.gitea.io/gitea/models/repo"
"code.gitea.io/gitea/models/unittest"
_ "code.gitea.io/gitea/models/user"
"code.gitea.io/gitea/modules/setting"
_ "code.gitea.io/gitea/models"
_ "code.gitea.io/gitea/models/repo"
_ "code.gitea.io/gitea/models/user"
"github.com/stretchr/testify/assert"
)

View File

@ -8,8 +8,9 @@ import (
"path/filepath"
"testing"
_ "code.gitea.io/gitea/models"
"code.gitea.io/gitea/models/unittest"
_ "code.gitea.io/gitea/models"
)
func TestMain(m *testing.M) {