diff --git a/tests/integration/user_test.go b/tests/integration/user_test.go index 3255f68e3..3a3932bdc 100644 --- a/tests/integration/user_test.go +++ b/tests/integration/user_test.go @@ -608,6 +608,6 @@ func TestUserPronouns(t *testing.T) { htmlDoc := NewHTMLParser(t, resp.Body) userName := strings.TrimSpace(htmlDoc.Find(".profile-avatar-name .username").Text()) - assert.Contains(t, userName, "user2") + assert.EqualValues(t, userName, "user2") }) }