summaryrefslogtreecommitdiffstats
path: root/integrations/api_repo_test.go
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2020-10-30 20:56:34 -0500
committerGitHub <noreply@github.com>2020-10-30 20:56:34 -0500
commitb5e974c8a5a90e7c166792d03d97f2ea5b6cfba6 (patch)
treec51509fa18331af3ac8ec15e612958fb2e456d6c /integrations/api_repo_test.go
parente16a5bb6346642a16ea31e7a7eb312c2594513cc (diff)
downloadgitea-b5e974c8a5a90e7c166792d03d97f2ea5b6cfba6.tar.gz
gitea-b5e974c8a5a90e7c166792d03d97f2ea5b6cfba6.zip
Delete tag API (#13358)
* Delete tag API Signed-off-by: jolheiser <john.olheiser@gmail.com> * Wording Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add conflict response and fix API tests Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix other test Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'integrations/api_repo_test.go')
-rw-r--r--integrations/api_repo_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_repo_test.go b/integrations/api_repo_test.go
index c8afa73ae6..fed63a9597 100644
--- a/integrations/api_repo_test.go
+++ b/integrations/api_repo_test.go
@@ -223,7 +223,7 @@ func TestAPIViewRepo(t *testing.T) {
DecodeJSON(t, resp, &repo)
assert.EqualValues(t, 1, repo.ID)
assert.EqualValues(t, "repo1", repo.Name)
- assert.EqualValues(t, 1, repo.Releases)
+ assert.EqualValues(t, 2, repo.Releases)
assert.EqualValues(t, 1, repo.OpenIssues)
assert.EqualValues(t, 3, repo.OpenPulls)