summaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-11-16 23:25:33 +0800
committerGitHub <noreply@github.com>2021-11-16 23:25:33 +0800
commit7e1ae380975df0afab3fdc04c7a926181e5daba9 (patch)
treea6fa4eb2d15b88fc4ff953d748ee3937ff10446b /integrations
parent48ccd325a1b81a58ac6d1d5d94fc4e90974599ea (diff)
downloadgitea-7e1ae380975df0afab3fdc04c7a926181e5daba9.tar.gz
gitea-7e1ae380975df0afab3fdc04c7a926181e5daba9.zip
Move migrations into services and base into modules/migration (#17663)
* Move migrtions into services and base into modules/migration * Fix imports * Fix lint
Diffstat (limited to 'integrations')
-rw-r--r--integrations/migrate_test.go5
-rw-r--r--integrations/mirror_pull_test.go2
2 files changed, 3 insertions, 4 deletions
diff --git a/integrations/migrate_test.go b/integrations/migrate_test.go
index 80eb75d404..e22da7db90 100644
--- a/integrations/migrate_test.go
+++ b/integrations/migrate_test.go
@@ -8,11 +8,10 @@ import (
"os"
"testing"
- "code.gitea.io/gitea/models/unittest"
-
"code.gitea.io/gitea/models"
- "code.gitea.io/gitea/modules/migrations"
+ "code.gitea.io/gitea/models/unittest"
"code.gitea.io/gitea/modules/setting"
+ "code.gitea.io/gitea/services/migrations"
"github.com/stretchr/testify/assert"
)
diff --git a/integrations/mirror_pull_test.go b/integrations/mirror_pull_test.go
index d0823a6cdb..277118a595 100644
--- a/integrations/mirror_pull_test.go
+++ b/integrations/mirror_pull_test.go
@@ -11,7 +11,7 @@ import (
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/models/unittest"
"code.gitea.io/gitea/modules/git"
- migration "code.gitea.io/gitea/modules/migrations/base"
+ "code.gitea.io/gitea/modules/migration"
"code.gitea.io/gitea/modules/repository"
mirror_service "code.gitea.io/gitea/services/mirror"
release_service "code.gitea.io/gitea/services/release"