File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ import (
17
17
"code.gitea.io/gitea/models/unittest"
18
18
user_model "code.gitea.io/gitea/models/user"
19
19
"code.gitea.io/gitea/modules/git"
20
+ mirror_module "code.gitea.io/gitea/modules/mirror"
20
21
"code.gitea.io/gitea/modules/repository"
21
22
"code.gitea.io/gitea/modules/setting"
22
23
"code.gitea.io/gitea/services/migrations"
23
- mirror_service "code.gitea.io/gitea/services/mirror"
24
24
25
25
"github.com/stretchr/testify/assert"
26
26
)
@@ -51,7 +51,7 @@ func testMirrorPush(t *testing.T, u *url.URL) {
51
51
assert .NoError (t , err )
52
52
assert .Len (t , mirrors , 1 )
53
53
54
- ok := mirror_service .SyncPushMirror (context .Background (), mirrors [0 ].ID )
54
+ ok := mirror_module .SyncPushMirror (context .Background (), mirrors [0 ].ID )
55
55
assert .True (t , ok )
56
56
57
57
srcGitRepo , err := git .OpenRepository (git .DefaultContext , srcRepo .RepoPath ())
You can’t perform that action at this time.
0 commit comments