summaryrefslogtreecommitdiffstats
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.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/user/main_test.go b/models/user/main_test.go
index 2999c4c81d..1dd9fb2781 100644
--- a/models/user/main_test.go
+++ b/models/user/main_test.go
@@ -8,11 +8,11 @@ import (
"path/filepath"
"testing"
- "code.gitea.io/gitea/models/db"
+ "code.gitea.io/gitea/models/unittest"
)
func TestMain(m *testing.M) {
- db.MainTest(m, filepath.Join("..", ".."),
+ unittest.MainTest(m, filepath.Join("..", ".."),
"email_address.yml",
"user_redirect.yml",
)