aboutsummaryrefslogtreecommitdiffstats
path: root/models/user/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/user/main_test.go')
-rw-r--r--models/user/main_test.go14
1 files changed, 4 insertions, 10 deletions
diff --git a/models/user/main_test.go b/models/user/main_test.go
index 09af550a95..b2416a3e0a 100644
--- a/models/user/main_test.go
+++ b/models/user/main_test.go
@@ -2,26 +2,20 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package user
+package user_test
import (
"path/filepath"
"testing"
"code.gitea.io/gitea/models/unittest"
+
+ _ "code.gitea.io/gitea/models"
+ _ "code.gitea.io/gitea/models/user"
)
func TestMain(m *testing.M) {
unittest.MainTest(m, &unittest.TestOptions{
GiteaRootPath: filepath.Join("..", ".."),
- FixtureFiles: []string{
- "email_address.yml",
- "user_redirect.yml",
- "follow.yml",
- "user_open_id.yml",
- "two_factor.yml",
- "oauth2_application.yml",
- "user.yml",
- },
})
}