From 89c7274b1a730edefd1b56c13b8c04305d4ef331 Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Wed, 13 Sep 2023 10:53:31 +0800 Subject: [PATCH] DEV: Correct fixtures to avoid translations error (#151) Why this change? In Discourse core, we have made the change to raise an error when a interpolation argument is missing when calling `I18n.translate` to help catch regressions in the UI where we may end up displaying broken translations. --- test/javascripts/acceptance/docs-user-status-test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/javascripts/acceptance/docs-user-status-test.js b/test/javascripts/acceptance/docs-user-status-test.js index c463afc..61a2090 100644 --- a/test/javascripts/acceptance/docs-user-status-test.js +++ b/test/javascripts/acceptance/docs-user-status-test.js @@ -24,6 +24,7 @@ acceptance("Docs - user status", function (needs) { id: 427, topic_id: 1, username: "admin1", + post_number: 2, cooked: '

This is a document.

\n

I am mentioning another user @andrei4

', mentioned_users: [