DEV: lint poll test (#29937)

Co-authored-by: David Taylor <david@taylorhq.com>
This commit is contained in:
Joffrey JAFFEUX 2024-11-26 16:22:33 +01:00 committed by GitHub
parent 96b88f34a2
commit a692e87b72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -150,7 +150,7 @@ module("Poll | Component | poll", function (hooks) {
assert
.dom(".dropdown-menu__item:nth-child(2)")
.hasText(`1 ${I18n.t("poll.options.ranked_choice.highest_priority")}`);
.hasText(`1 ${i18n("poll.options.ranked_choice.highest_priority")}`);
await click(
".dropdown-menu__item:nth-child(2) button",