summaryrefslogtreecommitdiffstats
path: root/core/js/tests/specs
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-08-16 23:08:15 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2018-08-16 23:08:15 +0200
commitbe873c234b077f48472f1d46f1998343e815fe86 (patch)
tree71d1be5483c242f2419e6ac0735ebdd7e1ee30d1 /core/js/tests/specs
parente89567eb53adac4655e4eb342788dc30758afcf3 (diff)
downloadnextcloud-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.js2
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