mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
icons deprecations fixes (#6920)
This commit is contained in:
parent
ea0e188c8f
commit
80d42b4ea2
78 changed files with 151 additions and 145 deletions
|
@ -6,13 +6,13 @@ componentTest("with image", {
|
|||
|
||||
test(assert) {
|
||||
assert.equal(
|
||||
this.$(".d-icon-picture-o").length,
|
||||
this.$(".d-icon-far-image").length,
|
||||
1,
|
||||
"it displays the upload icon"
|
||||
);
|
||||
|
||||
assert.equal(
|
||||
this.$(".d-icon-trash-o").length,
|
||||
this.$(".d-icon-far-trash-alt").length,
|
||||
1,
|
||||
"it displays the trash icon"
|
||||
);
|
||||
|
@ -24,13 +24,13 @@ componentTest("without image", {
|
|||
|
||||
test(assert) {
|
||||
assert.equal(
|
||||
this.$(".d-icon-picture-o").length,
|
||||
this.$(".d-icon-far-image").length,
|
||||
1,
|
||||
"it displays the upload icon"
|
||||
);
|
||||
|
||||
assert.equal(
|
||||
this.$(".d-icon-trash-o").length,
|
||||
this.$(".d-icon-far-trash-alt").length,
|
||||
0,
|
||||
"it does not display trash icon"
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue