summaryrefslogtreecommitdiffstats
path: root/core/js/tests/specs/shareitemmodelSpec.js
diff options
context:
space:
mode:
authorMichael Weimann <mail@michael-weimann.eu>2018-08-20 20:46:11 +0200
committerMichael Weimann <mail@michael-weimann.eu>2018-08-20 20:46:23 +0200
commit2bab916c535173ac723f50fecb33518db3f293d5 (patch)
tree7496981d6756638837ef4c45e0c2e5691d4c32c2 /core/js/tests/specs/shareitemmodelSpec.js
parentce1e213760a0ac03e91daf6ebc08f401da27b8bc (diff)
parent6d749bf0215c4f155d402620544e669c0cce37ec (diff)
downloadnextcloud-server-2bab916c535173ac723f50fecb33518db3f293d5.tar.gz
nextcloud-server-2bab916c535173ac723f50fecb33518db3f293d5.zip
Adds license to files. Updates the branch.
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'core/js/tests/specs/shareitemmodelSpec.js')
-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