aboutsummaryrefslogtreecommitdiffstats
path: root/tests/integration/api_packages_container_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_container_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_container_test.go')
-rw-r--r--tests/integration/api_packages_container_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/api_packages_container_test.go b/tests/integration/api_packages_container_test.go
index bbab820ecb..d925fd1647 100644
--- a/tests/integration/api_packages_container_test.go
+++ b/tests/integration/api_packages_container_test.go
@@ -640,7 +640,7 @@ func TestPackageContainer(t *testing.T) {
checkCatalog := func(owner string) func(t *testing.T) {
return func(t *testing.T) {
- defer tests.PrepareTestEnv(t)()
+ defer tests.PrintCurrentTest(t)()
req := NewRequest(t, "GET", fmt.Sprintf("%sv2/_catalog", setting.AppURL))
addTokenAuthHeader(req, userToken)