mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 18:11:41 -04:00
Update filelist test
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
This commit is contained in:
parent
5b075847f8
commit
00c23ccd02
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue