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