summaryrefslogtreecommitdiffstats
path: root/services/mirror/mirror_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/mirror/mirror_test.go')
-rw-r--r--services/mirror/mirror_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/mirror/mirror_test.go b/services/mirror/mirror_test.go
index 37e8a7be57..81811ffe4a 100644
--- a/services/mirror/mirror_test.go
+++ b/services/mirror/mirror_test.go
@@ -76,6 +76,7 @@ func TestRelease_MirrorDelete(t *testing.T) {
assert.True(t, ok)
count, err := models.GetReleaseCountByRepoID(mirror.ID, findOptions)
+ assert.NoError(t, err)
assert.EqualValues(t, initCount+1, count)
release, err := models.GetRelease(repo.ID, "v0.2")
@@ -86,5 +87,6 @@ func TestRelease_MirrorDelete(t *testing.T) {
assert.True(t, ok)
count, err = models.GetReleaseCountByRepoID(mirror.ID, findOptions)
+ assert.NoError(t, err)
assert.EqualValues(t, initCount, count)
}