From f7308973236b18a6b2b0bee720e17589f915f02c Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 8 Feb 2023 14:07:31 -0600 Subject: [PATCH] Fix instance tests --- app/soapbox/normalizers/__tests__/instance.test.ts | 3 ++- app/soapbox/reducers/__tests__/instance.test.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/soapbox/normalizers/__tests__/instance.test.ts b/app/soapbox/normalizers/__tests__/instance.test.ts index 24b0231d8..708adb6bb 100644 --- a/app/soapbox/normalizers/__tests__/instance.test.ts +++ b/app/soapbox/normalizers/__tests__/instance.test.ts @@ -10,7 +10,8 @@ describe('normalizeInstance()', () => { configuration: { media_attachments: {}, chats: { - max_characters: 500, + max_characters: 5000, + max_media_attachments: 1, }, polls: { max_options: 4, diff --git a/app/soapbox/reducers/__tests__/instance.test.ts b/app/soapbox/reducers/__tests__/instance.test.ts index b2edcd1dd..3c54692f0 100644 --- a/app/soapbox/reducers/__tests__/instance.test.ts +++ b/app/soapbox/reducers/__tests__/instance.test.ts @@ -13,7 +13,8 @@ describe('instance reducer', () => { description_limit: 1500, configuration: { chats: { - max_characters: 500, + max_characters: 5000, + max_media_attachments: 1, }, statuses: { max_characters: 500,