aboutsummaryrefslogtreecommitdiffstats
path: root/tests/integration/api_packages_rubygems_test.go
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2023-02-23 15:11:56 +0100
committerGitHub <noreply@github.com>2023-02-23 22:11:56 +0800
commit0ae1ed749dd6581379b7ccf483d66051869b52d7 (patch)
tree0522d4888f51b9056e55a93dcb5bd46f2726ef2f /tests/integration/api_packages_rubygems_test.go
parent3adfc0f02d1440d22934403b8d944218747b9289 (diff)
downloadgitea-0ae1ed749dd6581379b7ccf483d66051869b52d7.tar.gz
gitea-0ae1ed749dd6581379b7ccf483d66051869b52d7.zip
Remove all package data after tests (#22984)
Fixes #21020 --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'tests/integration/api_packages_rubygems_test.go')
-rw-r--r--tests/integration/api_packages_rubygems_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration/api_packages_rubygems_test.go b/tests/integration/api_packages_rubygems_test.go
index c85ff9aaf5..2099357cbb 100644
--- a/tests/integration/api_packages_rubygems_test.go
+++ b/tests/integration/api_packages_rubygems_test.go
@@ -23,6 +23,7 @@ import (
func TestPackageRubyGems(t *testing.T) {
defer tests.PrepareTestEnv(t)()
+
user := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 2})
packageName := "gitea"