summaryrefslogtreecommitdiffstats
path: root/modules/migrations/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/migrations/main_test.go')
-rw-r--r--modules/migrations/main_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/migrations/main_test.go b/modules/migrations/main_test.go
index 86aee4e86b..5b29230659 100644
--- a/modules/migrations/main_test.go
+++ b/modules/migrations/main_test.go
@@ -10,14 +10,14 @@ import (
"testing"
"time"
- "code.gitea.io/gitea/models"
+ "code.gitea.io/gitea/models/db"
"code.gitea.io/gitea/modules/migrations/base"
"github.com/stretchr/testify/assert"
)
func TestMain(m *testing.M) {
- models.MainTest(m, filepath.Join("..", ".."))
+ db.MainTest(m, filepath.Join("..", ".."))
}
func timePtr(t time.Time) *time.Time {