diff --git a/web-client/src/presenter/actions/setUserAction.test.ts b/web-client/src/presenter/actions/setUserAction.test.ts index 058284a7541..f12b62e2753 100644 --- a/web-client/src/presenter/actions/setUserAction.test.ts +++ b/web-client/src/presenter/actions/setUserAction.test.ts @@ -32,23 +32,4 @@ describe('setUserAction', () => { user, ); }); - - it('should not update state if there is no user provided in props', async () => { - const user = { - userId: 'petitioner', - }; - - const results = await runAction(setUserAction, { - modules: { - presenter, - }, - props: {}, - state: { - user, - }, - }); - - expect(results.state.user).toEqual(user); - expect(applicationContext.setCurrentUser.mock.calls.length).toEqual(0); - }); });