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 2bc50b614f..eb798fe2ce 100644
--- a/integrations/mirror_pull_test.go
+++ b/integrations/mirror_pull_test.go
@@ -86,7 +86,7 @@ func TestMirrorPull(t *testing.T) {
release, err := models.GetRelease(repo.ID, "v0.2")
assert.NoError(t, err)
- assert.NoError(t, release_service.DeleteReleaseByID(release.ID, user, true))
+ assert.NoError(t, release_service.DeleteReleaseByID(ctx, release.ID, user, true))
ok = mirror_service.SyncPullMirror(ctx, mirror.ID)
assert.True(t, ok)