From be873c234b077f48472f1d46f1998343e815fe86 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon <blizzz@arthur-schiwon.de> Date: Thu, 16 Aug 2018 23:08:15 +0200 Subject: adapt jsunit test Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> --- core/js/tests/specs/shareitemmodelSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/js') 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 -- cgit v1.2.3