X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/dd89200ad6fdbfa337fdbab5f54def8712c6746c..3367b1ff2a1d1050bb435f7bc8230c03435b2529:/src/views/workbench/workbench.test.tsx

diff --git a/src/views/workbench/workbench.test.tsx b/src/views/workbench/workbench.test.tsx
index 3587283e11..14ca6947ed 100644
--- a/src/views/workbench/workbench.test.tsx
+++ b/src/views/workbench/workbench.test.tsx
@@ -4,7 +4,7 @@
 
 import * as React from 'react';
 import * as ReactDOM from 'react-dom';
-import { Workbench } from './workbench';
+import { WorkbenchPanel } from './workbench';
 import { Provider } from "react-redux";
 import { configureStore } from "~/store/store";
 import createBrowserHistory from "history/createBrowserHistory";
@@ -18,12 +18,13 @@ const history = createBrowserHistory();
 it('renders without crashing', () => {
     const div = document.createElement('div');
     const services = createServices("/arvados/v1");
+	services.authService.getUuid = jest.fn().mockReturnValueOnce('test');
     const store = configureStore(createBrowserHistory(), services);
     ReactDOM.render(
         <MuiThemeProvider theme={CustomTheme}>
             <Provider store={store}>
                 <ConnectedRouter history={history}>
-                    <Workbench authService={services.authService}/>
+                    <WorkbenchPanel />
                 </ConnectedRouter>
             </Provider>
         </MuiThemeProvider>,
