summaryrefslogtreecommitdiffstats
path: root/integrations/cors_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/cors_test.go')
-rw-r--r--integrations/cors_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/cors_test.go b/integrations/cors_test.go
index 02b6b9dbfc..466984c79a 100644
--- a/integrations/cors_test.go
+++ b/integrations/cors_test.go
@@ -12,7 +12,7 @@ import (
)
func TestCORSNotSet(t *testing.T) {
- prepareTestEnv(t)
+ defer prepareTestEnv(t)()
req := NewRequestf(t, "GET", "/api/v1/version")
session := loginUser(t, "user2")
resp := session.MakeRequest(t, req, http.StatusOK)