From 609c4495f5e6e73cf32e241c887eaaa6d9560c91 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Wed, 19 May 2021 13:07:30 +0100 Subject: [PATCH] Check that user.refProviders[provider] is set to a truthy value (#4063) * Ensure that user.refProviders is set to a truthy value * Update stories * Update tests GitOrigin-RevId: 51919f755f6d3bcb9d3564685253222691b0d92b --- .../file-tree/components/file-tree-create/context-props.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/test/frontend/features/file-tree/components/file-tree-create/context-props.js b/services/web/test/frontend/features/file-tree/components/file-tree-create/context-props.js index 1ebb180fbf..9e158a035d 100644 --- a/services/web/test/frontend/features/file-tree/components/file-tree-create/context-props.js +++ b/services/web/test/frontend/features/file-tree/components/file-tree-create/context-props.js @@ -4,7 +4,7 @@ export const contextProps = { projectId: 'test-project', hasWritePermissions: true, userHasFeature: () => true, - refProviders: {}, + refProviders: { mendeley: false, zotero: false }, reindexReferences: () => { console.log('reindex references') },