diff options
author | Lars Lehtonen <lars.lehtonen@gmail.com> | 2019-11-14 20:54:23 -0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-11-15 06:54:23 +0200 |
commit | 896ad1d9cf31dafc82d852a518066ed54678ed65 (patch) | |
tree | d5174567e155ecfbc941fe25c7595810416490e7 | |
parent | 149a9df9e8e7e91c813232fb82e644b0d3369b09 (diff) | |
download | gitea-896ad1d9cf31dafc82d852a518066ed54678ed65.tar.gz gitea-896ad1d9cf31dafc82d852a518066ed54678ed65.zip |
services/mirror: fix dropped test errors (#9007)
-rw-r--r-- | services/mirror/mirror_test.go | 2 |
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) } |