diff options
Diffstat (limited to 'integrations/migrate_test.go')
-rw-r--r-- | integrations/migrate_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/integrations/migrate_test.go b/integrations/migrate_test.go index b9fcfb2827..80eb75d404 100644 --- a/integrations/migrate_test.go +++ b/integrations/migrate_test.go @@ -11,7 +11,6 @@ import ( "code.gitea.io/gitea/models/unittest" "code.gitea.io/gitea/models" - "code.gitea.io/gitea/models/db" "code.gitea.io/gitea/modules/migrations" "code.gitea.io/gitea/modules/setting" @@ -21,7 +20,7 @@ import ( func TestMigrateLocalPath(t *testing.T) { assert.NoError(t, unittest.PrepareTestDatabase()) - adminUser := db.AssertExistsAndLoadBean(t, &models.User{Name: "user1"}).(*models.User) + adminUser := unittest.AssertExistsAndLoadBean(t, &models.User{Name: "user1"}).(*models.User) old := setting.ImportLocalPaths setting.ImportLocalPaths = true |