19715: Fix unit test
authorStephen Smith <stephen@curii.com>
Thu, 12 Jan 2023 20:54:02 +0000 (15:54 -0500)
committerStephen Smith <stephen@curii.com>
Thu, 12 Jan 2023 20:54:02 +0000 (15:54 -0500)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

src/views-components/main-app-bar/account-menu.test.tsx

index f0316e34c0181a95e477bea2b711781b1b5c96b8..1d7b77ac17ffb2e71318bfa4d99dff8f703bf786 100644 (file)
@@ -43,7 +43,7 @@ describe('<AccountMenu />', () => {
         it('should dispatch a logout action when clicked', () => {
             wrapper.find('[data-cy="logout-menuitem"]').simulate('click');
             expect(props.dispatch).toHaveBeenCalledWith({
-                payload: {deleteLinkData: true},
+                payload: {deleteLinkData: true, preservePath: false},
                 type: 'LOGOUT',
             });
         });