From 9b51b16e788b80da401b974566f24a3401ed62b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Fri, 16 Sep 2022 16:25:01 +0200 Subject: [PATCH] update test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/reducers/__tests__/compose.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/soapbox/reducers/__tests__/compose.test.ts b/app/soapbox/reducers/__tests__/compose.test.ts index deb8443a9..c8da1c744 100644 --- a/app/soapbox/reducers/__tests__/compose.test.ts +++ b/app/soapbox/reducers/__tests__/compose.test.ts @@ -170,14 +170,14 @@ describe('compose reducer', () => { }); }); - it('sets default scope on settings save (but retains current scope)', () => { + it('sets default scope on settings save', () => { const state = initialState.set('default', ReducerCompose({ privacy: 'public' })); const action = { type: ME_PATCH_SUCCESS, me: { pleroma: { settings_store: { soapbox_fe: { defaultPrivacy: 'unlisted' } } } }, }; expect(reducer(state, action).toJS().default).toMatchObject({ - privacy: 'public', + privacy: 'unlisted', }); });