aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/mirror_pull_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/mirror_pull_test.go b/tests/integration/mirror_pull_test.go
index 964348d6ad..e1c7c6b170 100644
--- a/tests/integration/mirror_pull_test.go
+++ b/tests/integration/mirror_pull_test.go
@@ -86,7 +86,7 @@ func TestMirrorPull(t *testing.T) {
assert.NoError(t, err)
assert.EqualValues(t, initCount+1, count)
- release, err := repo_model.GetRelease(repo.ID, "v0.2")
+ release, err := repo_model.GetRelease(db.DefaultContext, repo.ID, "v0.2")
assert.NoError(t, err)
assert.NoError(t, release_service.DeleteReleaseByID(ctx, release.ID, user, true))