mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 13:58:13 +08:00
DEV: correct bad test
Test was unlisting a topic and then checking for the unlist info in the whisper field
This commit is contained in:
parent
53e0d8fbab
commit
d6df92b074
@ -524,7 +524,7 @@ QUnit.test(
|
||||
);
|
||||
|
||||
assert.ok(
|
||||
find(".composer-fields .whisper")
|
||||
find(".composer-fields .unlist")
|
||||
.text()
|
||||
.indexOf(I18n.t("composer.unlist")) > 0,
|
||||
"it sets the topic to unlisted"
|
||||
|
Loading…
x
Reference in New Issue
Block a user