aboutsummaryrefslogtreecommitdiffstats
path: root/tests/integration/api_packages_rpm_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/api_packages_rpm_test.go')
-rw-r--r--tests/integration/api_packages_rpm_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/api_packages_rpm_test.go b/tests/integration/api_packages_rpm_test.go
index 740bdf8262..e66460899f 100644
--- a/tests/integration/api_packages_rpm_test.go
+++ b/tests/integration/api_packages_rpm_test.go
@@ -219,7 +219,7 @@ gpgkey=%sapi/packages/%s/rpm/repository.key`, user.Name, user.Name, setting.AppN
assert.Contains(t, resp.Body.String(), "-----BEGIN PGP SIGNATURE-----")
})
- decodeGzipXML := func(t testing.TB, resp *httptest.ResponseRecorder, v interface{}) {
+ decodeGzipXML := func(t testing.TB, resp *httptest.ResponseRecorder, v any) {
t.Helper()
zr, err := gzip.NewReader(resp.Body)