From 0ae1ed749dd6581379b7ccf483d66051869b52d7 Mon Sep 17 00:00:00 2001 From: KN4CK3R Date: Thu, 23 Feb 2023 15:11:56 +0100 Subject: Remove all package data after tests (#22984) Fixes #21020 --------- Co-authored-by: Lunny Xiao Co-authored-by: zeripath --- tests/integration/api_packages_rubygems_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/integration/api_packages_rubygems_test.go') 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" -- cgit v1.2.3