20085: Fix tests
[arvados-workbench2.git] / src / views-components / sharing-dialog / sharing-dialog-component.test.tsx
index 36447a8dabdc4e20aa15ac4c5906af32b15cd9d7..2fc4d01ad6e27b93819f079a4f0373c8ae6332be 100644 (file)
@@ -27,6 +27,11 @@ describe("<SharingDialogComponent />", () => {
             config: {
                 keepWebServiceUrl: 'http://example.com/',
                 keepWebInlineServiceUrl: 'http://*.collections.example.com/',
+                clusterConfig: {
+                    Users: {
+                        AnonymousUserToken: ""
+                    }
+                }
             }
         }
         store = createStore(combineReducers({
@@ -68,4 +73,4 @@ describe("<SharingDialogComponent />", () => {
         let wrapper = mount(<Provider store={store}><SharingDialogComponent {...props} /></Provider>);
         expect(wrapper.html()).not.toContain('Sharing URLs');
     });
-});
\ No newline at end of file
+});