Update filelist test

Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
pull/29628/head
Orzu Ionut 3 years ago committed by szaimen
parent 3d6902103a
commit fd979461fc

@ -136,7 +136,7 @@ describe('OCA.Trashbin.FileList tests', function () {
describe('Initialization', function () {
it('Sorts by mtime by default', function () {
expect(fileList._sort).toEqual('mtime');
expect(fileList._sortDirection).toEqual('asc');
expect(fileList._sortDirection).toEqual('desc');
});
it('Always returns read and delete permission', function () {
expect(fileList.getDirectoryPermissions()).toEqual(OC.PERMISSION_READ | OC.PERMISSION_DELETE);

Loading…
Cancel
Save