mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-29 12:46:16 +01:00
use EqualValues in test of pronouns not being displayed when unspecified
This commit is contained in:
parent
9bb7b3fbdd
commit
2bed909a17
1 changed files with 1 additions and 1 deletions
|
@ -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