X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/66fbf108bc45021a3187bb63f4c0672e4e6ad3c9..a39cc426fdcde42210966da888eb11634e3a321a:/src/views-components/main-app-bar/account-menu.test.tsx

diff --git a/src/views-components/main-app-bar/account-menu.test.tsx b/src/views-components/main-app-bar/account-menu.test.tsx
index 4436f6a3..1d7b77ac 100644
--- a/src/views-components/main-app-bar/account-menu.test.tsx
+++ b/src/views-components/main-app-bar/account-menu.test.tsx
@@ -2,8 +2,8 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as React from 'react';
-import * as Adapter from 'enzyme-adapter-react-16';
+import React from 'react';
+import Adapter from 'enzyme-adapter-react-16';
 import {configure, shallow } from 'enzyme';
 
 import { AccountMenuComponent } from './account-menu';
@@ -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',
             });
         });
