fix test
This commit is contained in:
parent
70db8d7466
commit
499bf851ec
|
|
@ -703,7 +703,7 @@ function initialize(api) {
|
||||||
const assigneeElements = [];
|
const assigneeElements = [];
|
||||||
|
|
||||||
const assignedHtml = (username, path) => {
|
const assignedHtml = (username, path) => {
|
||||||
return `<span>${htmlSafe(
|
return `<span class="assigned-to">${htmlSafe(
|
||||||
I18n.t("discourse_assign.assigned_topic_to", {
|
I18n.t("discourse_assign.assigned_topic_to", {
|
||||||
username,
|
username,
|
||||||
path,
|
path,
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,7 @@ acceptance("Discourse Assign | Assigned topic", function (needs) {
|
||||||
"shows assignment in the header"
|
"shows assignment in the header"
|
||||||
);
|
);
|
||||||
assert.strictEqual(
|
assert.strictEqual(
|
||||||
query("#post_1 .assigned-to-group").innerText.trim(),
|
query("#post_1 .assigned-to").innerText.trim(),
|
||||||
"Developers",
|
"Developers",
|
||||||
"shows assignment in the first post"
|
"shows assignment in the first post"
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue