Only check a user's features for importing from reference provider (#3797)

GitOrigin-RevId: cc5a36be20c673f8941a2694eaeba80eebb4db6a
This commit is contained in:
Alf Eaton
2021-03-25 03:04:57 +00:00
committed by Copybot
parent cddb01c72b
commit ee79728bf9
14 changed files with 30 additions and 31 deletions
@@ -3,7 +3,7 @@ import sinon from 'sinon'
export const contextProps = {
projectId: 'test-project',
hasWritePermissions: true,
hasFeature: () => true,
userHasFeature: () => true,
refProviders: {},
reindexReferences: () => {
console.log('reindex references')