summaryrefslogtreecommitdiffstats
path: root/integrations/mirror_pull_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/mirror_pull_test.go')
-rw-r--r--integrations/mirror_pull_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/mirror_pull_test.go b/integrations/mirror_pull_test.go
index dd66974e04..8f74d5fe16 100644
--- a/integrations/mirror_pull_test.go
+++ b/integrations/mirror_pull_test.go
@@ -75,7 +75,7 @@ func TestMirrorPull(t *testing.T) {
IsTag: true,
}, nil, ""))
- _, err = repo_model.GetMirrorByRepoID(mirror.ID)
+ _, err = repo_model.GetMirrorByRepoID(ctx, mirror.ID)
assert.NoError(t, err)
ok := mirror_service.SyncPullMirror(ctx, mirror.ID)