summaryrefslogtreecommitdiffstats
path: root/integrations/xss_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/xss_test.go')
-rw-r--r--integrations/xss_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/xss_test.go b/integrations/xss_test.go
index d93d0ec036..425165dccc 100644
--- a/integrations/xss_test.go
+++ b/integrations/xss_test.go
@@ -14,7 +14,7 @@ import (
)
func TestXSSUserFullName(t *testing.T) {
- prepareTestEnv(t)
+ defer prepareTestEnv(t)()
user := models.AssertExistsAndLoadBean(t, &models.User{ID: 2}).(*models.User)
const fullName = `name & <script class="evil">alert('Oh no!');</script>`