summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/js
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-12-14 14:03:14 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2015-12-14 14:03:14 +0100
commit843cf906b1f9fd9adce3b5f4bc8ae364a83de69b (patch)
treed834b61497d46c45d232a0dcd48d88b3a15873c1 /apps/files_sharing/tests/js
parentf2ac1a80d8833b49c10a2195adbb1df1a002cff5 (diff)
downloadnextcloud-server-843cf906b1f9fd9adce3b5f4bc8ae364a83de69b.tar.gz
nextcloud-server-843cf906b1f9fd9adce3b5f4bc8ae364a83de69b.zip
File shares can't have create permissions
fixes #21187
Diffstat (limited to 'apps/files_sharing/tests/js')
-rw-r--r--apps/files_sharing/tests/js/sharedfilelistSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/js/sharedfilelistSpec.js b/apps/files_sharing/tests/js/sharedfilelistSpec.js
index fdc9de49c17..0b0676a19e6 100644
--- a/apps/files_sharing/tests/js/sharedfilelistSpec.js
+++ b/apps/files_sharing/tests/js/sharedfilelistSpec.js
@@ -712,7 +712,7 @@ describe('OCA.Sharing.FileList tests', function() {
$tr = fileList.$el.find('tr:first');
expect(parseInt($tr.attr('data-share-permissions'), 10))
- .toEqual(OC.PERMISSION_ALL - OC.PERMISSION_SHARE - OC.PERMISSION_DELETE);
+ .toEqual(OC.PERMISSION_ALL - OC.PERMISSION_SHARE - OC.PERMISSION_DELETE - OC.PERMISSION_CREATE);
});
});
});