0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00

use EqualValues in test of pronouns not being displayed when unspecified

This commit is contained in:
hazycora 2024-04-03 15:24:23 -05:00
parent 9bb7b3fbdd
commit 2bed909a17
No known key found for this signature in database
GPG key ID: 215AF1F81F86940E

View file

@ -608,6 +608,6 @@ func TestUserPronouns(t *testing.T) {
htmlDoc := NewHTMLParser(t, resp.Body) htmlDoc := NewHTMLParser(t, resp.Body)
userName := strings.TrimSpace(htmlDoc.Find(".profile-avatar-name .username").Text()) userName := strings.TrimSpace(htmlDoc.Find(".profile-avatar-name .username").Text())
assert.Contains(t, userName, "user2") assert.EqualValues(t, userName, "user2")
}) })
} }