From 6d16c80d25b3e0713961be79c74697d2d16262b2 Mon Sep 17 00:00:00 2001 From: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com> Date: Wed, 4 Sep 2024 12:38:27 -0700 Subject: [PATCH] Fix string in i18n test --- ts/test-both/types/setupI18n_test.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ts/test-both/types/setupI18n_test.ts b/ts/test-both/types/setupI18n_test.ts index ad762bbc9..53d3448bd 100644 --- a/ts/test-both/types/setupI18n_test.ts +++ b/ts/test-both/types/setupI18n_test.ts @@ -54,13 +54,10 @@ describe('setupI18n', () => { const intl = i18n.getIntl(); assert.isObject(intl); const result = intl.formatMessage( - { id: 'icu:emptyInboxMessage' }, - { composeIcon: 'ICONIC' } - ); - assert.equal( - result, - 'Click the ICONIC above and search for your contacts or groups to message.' + { id: 'icu:contactAvatarAlt' }, + { name: 'NAME' } ); + assert.equal(result, 'Avatar for contact NAME'); }); }); });