mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 05:53:52 +08:00
DEV: fix some deprecated SVG icon refs
This commit is contained in:
@ -7,5 +7,5 @@ QUnit.test("group card", async assert => {
|
||||
assert.ok(invisible("#group-card"), "user card is invisible by default");
|
||||
|
||||
await click("a.mention-group:first");
|
||||
assert.ok(visible(".group-details-container"), "group page show be shown");
|
||||
assert.ok(visible(".group-details-container"), "group page should be shown");
|
||||
});
|
||||
|
@ -26,11 +26,7 @@ componentTest("pending updates", {
|
||||
|
||||
test(assert) {
|
||||
assert.expect(1);
|
||||
assert.equal(
|
||||
this.$(".d-icon-refresh").length,
|
||||
1,
|
||||
"shows pending update icon"
|
||||
);
|
||||
assert.equal(this.$(".d-icon-sync").length, 1, "shows pending update icon");
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -685,7 +685,7 @@ componentTest("emoji", {
|
||||
toolbar.addButton({
|
||||
id: "emoji",
|
||||
group: "extras",
|
||||
icon: "smile-o",
|
||||
icon: "far-smile",
|
||||
action: () => toolbar.context.send("emoji")
|
||||
});
|
||||
});
|
||||
|
@ -6,7 +6,7 @@ widgetTest("icon only button", {
|
||||
template: '{{mount-widget widget="button" args=args}}',
|
||||
|
||||
beforeEach() {
|
||||
this.set("args", { icon: "smile-o" });
|
||||
this.set("args", { icon: "far-smile" });
|
||||
},
|
||||
|
||||
test(assert) {
|
||||
@ -15,7 +15,7 @@ widgetTest("icon only button", {
|
||||
"it has all the classes"
|
||||
);
|
||||
assert.ok(
|
||||
this.$("button .d-icon.d-icon-smile-o").length,
|
||||
this.$("button .d-icon.d-icon-far-smile").length,
|
||||
"it has the icon"
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user