mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 18:04:24 +01:00
use EqualValues in test of pronouns not being displayed when unspecified
This commit is contained in:
parent
9bb7b3fbdd
commit
2bed909a17
|
@ -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")
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue