diff --git a/plugins/poll/test/javascripts/component/poll-test.js b/plugins/poll/test/javascripts/component/poll-test.js index b049f33eb53..8011a61226e 100644 --- a/plugins/poll/test/javascripts/component/poll-test.js +++ b/plugins/poll/test/javascripts/component/poll-test.js @@ -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",