aboutsummaryrefslogtreecommitdiffstats
path: root/tests/integration/xss_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/xss_test.go')
-rw-r--r--tests/integration/xss_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/xss_test.go b/tests/integration/xss_test.go
index a8eaa5fc62..9058fc210a 100644
--- a/tests/integration/xss_test.go
+++ b/tests/integration/xss_test.go
@@ -32,8 +32,8 @@ func TestXSSUserFullName(t *testing.T) {
req = NewRequestf(t, "GET", "/%s", user.Name)
resp := session.MakeRequest(t, req, http.StatusOK)
htmlDoc := NewHTMLParser(t, resp.Body)
- assert.EqualValues(t, 0, htmlDoc.doc.Find("script.evil").Length())
- assert.EqualValues(t, fullName,
+ assert.Equal(t, 0, htmlDoc.doc.Find("script.evil").Length())
+ assert.Equal(t, fullName,
htmlDoc.doc.Find("div.content").Find(".header.text.center").Text(),
)
}