Fix tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-03-08 20:56:26 +01:00
parent 953691abb2
commit ea5393e9f8
No known key found for this signature in database
GPG Key ID: F941078878347C0C
2 changed files with 6 additions and 3 deletions

View File

@ -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
});
});
});

View File

@ -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');