mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
icons deprecations fixes (#6920)
This commit is contained in:
@ -80,7 +80,7 @@ widgetTest("post deleted", {
|
||||
},
|
||||
test(assert) {
|
||||
assert.ok(
|
||||
this.$(".post-action .d-icon-trash-o").length === 1,
|
||||
this.$(".post-action .d-icon-far-trash-alt").length === 1,
|
||||
"it has the deleted icon"
|
||||
);
|
||||
assert.ok(
|
||||
|
@ -39,7 +39,7 @@ widgetTest("extra classes and glyphs", {
|
||||
assert.ok(this.$("span.staff").length);
|
||||
assert.ok(this.$("span.admin").length);
|
||||
assert.ok(this.$("span.moderator").length);
|
||||
assert.ok(this.$(".d-icon-shield").length);
|
||||
assert.ok(this.$(".d-icon-shield-alt").length);
|
||||
assert.ok(this.$("span.new-user").length);
|
||||
assert.ok(this.$("span.fish").length);
|
||||
}
|
||||
|
Reference in New Issue
Block a user