From 70bf9f4ff8872e21b29ff82c2e1e1afbec861b9e Mon Sep 17 00:00:00 2001 From: Orzu Ionut Date: Wed, 10 Nov 2021 12:10:56 +0200 Subject: [PATCH] Update filelist test Signed-off-by: Orzu Ionut --- apps/files_trashbin/tests/js/filelistSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_trashbin/tests/js/filelistSpec.js b/apps/files_trashbin/tests/js/filelistSpec.js index a655acb208c..fe2f7b02d30 100644 --- a/apps/files_trashbin/tests/js/filelistSpec.js +++ b/apps/files_trashbin/tests/js/filelistSpec.js @@ -129,7 +129,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); -- 2.39.5