summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-08 20:56:26 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-05-01 15:20:20 +0200
commitea5393e9f84284f23414c75bc015d23ce47a8656 (patch)
treefb906afcf569d0c3c70b331b79604e7a584488f3 /apps/files_sharing/tests
parent953691abb252aa35e8cc290b4135fbdf88fa9e7f (diff)
downloadnextcloud-server-ea5393e9f84284f23414c75bc015d23ce47a8656.tar.gz
nextcloud-server-ea5393e9f84284f23414c75bc015d23ce47a8656.zip
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r--apps/files_sharing/tests/js/sharedfilelistSpec.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/js/sharedfilelistSpec.js b/apps/files_sharing/tests/js/sharedfilelistSpec.js
index 492a7255c61..0897e9c956d 100644
--- a/apps/files_sharing/tests/js/sharedfilelistSpec.js
+++ b/apps/files_sharing/tests/js/sharedfilelistSpec.js
@@ -727,7 +727,8 @@ describe('OCA.Sharing.FileList tests', function() {
etag: 'abc',
shareOwner: 'User One',
recipients: 'User Two',
- mountType: 'external-root'
+ mountType: 'external-root',
+ sharePermissions: OC.PERMISSION_READ,
}]);
$tr = fileList.$el.find('tr:first');
@@ -749,7 +750,8 @@ describe('OCA.Sharing.FileList tests', function() {
etag: 'abc',
shareOwner: 'User One',
recipients: 'User Two',
- mountType: 'external-root'
+ mountType: 'external-root',
+ sharePermissions: OC.PERMISSION_READ | OC.PERMISSION_SHARE,
}]);
$tr = fileList.$el.find('tr:first');