summaryrefslogtreecommitdiffstats
path: root/core/js/tests/specs
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-08-20 17:14:12 +0200
committerGitHub <noreply@github.com>2018-08-20 17:14:12 +0200
commit6d749bf0215c4f155d402620544e669c0cce37ec (patch)
tree157c40964bbb0ec7cbd1ec5f26f8e6adee5f5553 /core/js/tests/specs
parenta6fb5c5dba079e4803b2743abf2c09b048fc3507 (diff)
parentbe873c234b077f48472f1d46f1998343e815fe86 (diff)
downloadnextcloud-server-6d749bf0215c4f155d402620544e669c0cce37ec.tar.gz
nextcloud-server-6d749bf0215c4f155d402620544e669c0cce37ec.zip
Merge pull request #10700 from nextcloud/fix/10516/sharepermissions
Fix share dialog sidebar in share views
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