]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update filelist test
authorOrzu Ionut <orzu.ionut@gmail.com>
Wed, 10 Nov 2021 10:10:56 +0000 (12:10 +0200)
committerszaimen (Rebase PR Action) <szaimen@e.mail.de>
Mon, 15 Nov 2021 22:47:17 +0000 (22:47 +0000)
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
apps/files_trashbin/tests/js/filelistSpec.js

index a655acb208c90940ab041a3287702bf01d7d88ce..fe2f7b02d30dbd90bdb827bd7f35f1ff895034f7 100644 (file)
@@ -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);