mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 20:52:46 +08:00
fix test
This commit is contained in:
parent
6252e166a9
commit
cc6b6b5b77
|
@ -458,7 +458,7 @@ module("Unit | Model | report", function () {
|
|||
const computedUsernameLabel = usernameLabel.compute(row);
|
||||
assert.equal(
|
||||
computedUsernameLabel.formatedValue,
|
||||
"<a href='/admin/users/1/joffrey'><img alt='' width='20' height='20' src='/' class='avatar' title='joffrey' aria-label='joffrey'><span class='username'>joffrey</span></a>"
|
||||
"<a href='/admin/users/1/joffrey'><img loading='lazy' alt='' width='20' height='20' src='/' class='avatar' title='joffrey' aria-label='joffrey'><span class='username'>joffrey</span></a>"
|
||||
);
|
||||
assert.equal(computedUsernameLabel.value, "joffrey");
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user