Only check a user's features for importing from reference provider (#3797)
GitOrigin-RevId: cc5a36be20c673f8941a2694eaeba80eebb4db6a
This commit is contained in:
@@ -40,7 +40,7 @@ describe('FileTree Create Folder Flow', function() {
|
||||
rootFolder={rootFolder}
|
||||
projectId="123abc"
|
||||
hasWritePermissions
|
||||
hasFeature={() => true}
|
||||
userHasFeature={() => true}
|
||||
refProviders={{}}
|
||||
reindexReferences={() => null}
|
||||
setRefProviderEnabled={() => null}
|
||||
@@ -100,7 +100,7 @@ describe('FileTree Create Folder Flow', function() {
|
||||
rootFolder={rootFolder}
|
||||
projectId="123abc"
|
||||
hasWritePermissions
|
||||
hasFeature={() => true}
|
||||
userHasFeature={() => true}
|
||||
refProviders={{}}
|
||||
reindexReferences={() => null}
|
||||
setRefProviderEnabled={() => null}
|
||||
@@ -170,7 +170,7 @@ describe('FileTree Create Folder Flow', function() {
|
||||
rootFolder={rootFolder}
|
||||
projectId="123abc"
|
||||
hasWritePermissions
|
||||
hasFeature={() => true}
|
||||
userHasFeature={() => true}
|
||||
refProviders={{}}
|
||||
reindexReferences={() => null}
|
||||
setRefProviderEnabled={() => null}
|
||||
@@ -229,7 +229,7 @@ describe('FileTree Create Folder Flow', function() {
|
||||
rootFolder={rootFolder}
|
||||
projectId="123abc"
|
||||
hasWritePermissions
|
||||
hasFeature={() => true}
|
||||
userHasFeature={() => true}
|
||||
refProviders={{}}
|
||||
reindexReferences={() => null}
|
||||
setRefProviderEnabled={() => null}
|
||||
|
||||
Reference in New Issue
Block a user