Add webdavClient to ServiceRepository
[arvados-workbench2.git] / src / store / auth / auth-actions.test.ts
index 1ded88ead6361fc28e5252ca92a5430a46219ee5..2b28cd0891277baaae68e7edf221188a438f5a97 100644 (file)
@@ -23,9 +23,9 @@ describe('auth-actions', () => {
     let store: RootStore;
 
     beforeEach(() => {
-        store = configureStore(createBrowserHistory(), createServices("/arvados/v1"));
+        store = configureStore(createBrowserHistory(), createServices({ API_HOST: "/arvados/v1", KEEP_WEB_HOST: "" }));
         localStorage.clear();
-        reducer = authReducer(createServices("/arvados/v1"));
+        reducer = authReducer(createServices({ API_HOST: "/arvados/v1", KEEP_WEB_HOST: "" }));
     });
 
     it('should initialise state with user and api token from local storage', () => {