summaryrefslogtreecommitdiffstats
path: root/apps
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
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')
-rw-r--r--apps/files_external/tests/js/settingsSpec.js3
-rw-r--r--apps/files_sharing/tests/js/sharedfilelistSpec.js6
2 files changed, 6 insertions, 3 deletions
diff --git a/apps/files_external/tests/js/settingsSpec.js b/apps/files_external/tests/js/settingsSpec.js
index 56bdcff8345..fbbb341c307 100644
--- a/apps/files_external/tests/js/settingsSpec.js
+++ b/apps/files_external/tests/js/settingsSpec.js
@@ -376,7 +376,8 @@ describe('OCA.External.Settings tests', function() {
previews: true,
enable_sharing: false,
filesystem_check_changes: 0,
- encoding_compatibility: false
+ encoding_compatibility: false,
+ readonly: false
});
});
});
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');