diff options
author | Nanguan Lin <70063547+lng2020@users.noreply.github.com> | 2023-10-10 15:39:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-10 15:39:58 +0200 |
commit | 5b6258a0b94737ec3db1ce418d0c933512a71f78 (patch) | |
tree | d1d1a78491e575734b1a683909d5860c0349a43f /tests/integration/api_packages_rubygems_test.go | |
parent | Increase queue length (#27555) (diff) | |
download | forgejo-5b6258a0b94737ec3db1ce418d0c933512a71f78.tar.xz forgejo-5b6258a0b94737ec3db1ce418d0c933512a71f78.zip |
Fix the wrong HTTP response status code for duplicate packages (#27480)
fix #27470
(hope there is nothing missing 😢 )
---------
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Diffstat (limited to 'tests/integration/api_packages_rubygems_test.go')
-rw-r--r-- | tests/integration/api_packages_rubygems_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/api_packages_rubygems_test.go b/tests/integration/api_packages_rubygems_test.go index 2099357cbb..a3df143209 100644 --- a/tests/integration/api_packages_rubygems_test.go +++ b/tests/integration/api_packages_rubygems_test.go @@ -150,7 +150,7 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA`) t.Run("UploadExists", func(t *testing.T) { defer tests.PrintCurrentTest(t)() - uploadFile(t, http.StatusBadRequest) + uploadFile(t, http.StatusConflict) }) t.Run("Download", func(t *testing.T) { |