diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-08-16 23:08:15 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-08-16 23:08:15 +0200 |
commit | be873c234b077f48472f1d46f1998343e815fe86 (patch) | |
tree | 71d1be5483c242f2419e6ac0735ebdd7e1ee30d1 /core/js/tests/specs | |
parent | e89567eb53adac4655e4eb342788dc30758afcf3 (diff) | |
download | nextcloud-server-be873c234b077f48472f1d46f1998343e815fe86.tar.gz nextcloud-server-be873c234b077f48472f1d46f1998343e815fe86.zip |
adapt jsunit test
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'core/js/tests/specs')
-rw-r--r-- | core/js/tests/specs/shareitemmodelSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/tests/specs/shareitemmodelSpec.js b/core/js/tests/specs/shareitemmodelSpec.js index 0a345786b73..2e89b2e3cda 100644 --- a/core/js/tests/specs/shareitemmodelSpec.js +++ b/core/js/tests/specs/shareitemmodelSpec.js @@ -345,7 +345,7 @@ describe('OC.Share.ShareItemModel', function() { }])); fetchSharesDeferred.resolve(makeOcsResponse([])); - model.set('possiblePermissions', OC.PERMISSION_READ); + model.fileInfoModel.set('permissions', OC.PERMISSION_READ); model.fetch(); // no resharing allowed |