mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 08:43:25 +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…
Reference in New Issue
Block a user