Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorOrzu Ionut <orzu.ionut@gmail.com>2021-11-10 13:10:56 +0300
committerOrzu Ionut <orzu.ionut@gmail.com>2021-11-10 13:10:56 +0300
commit00c23ccd02ca0af3eb340ce8bdf71374868d9d19 (patch)
tree65874af098fd2fd18da21c5106bef62ae8cd54a6 /apps
parent5b075847f82a4b6312d6194ba98d0338a7e70f85 (diff)
Update filelist test
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_trashbin/tests/js/filelistSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/tests/js/filelistSpec.js b/apps/files_trashbin/tests/js/filelistSpec.js
index 840b4ce658c..8b0cdd2f3e0 100644
--- a/apps/files_trashbin/tests/js/filelistSpec.js
+++ b/apps/files_trashbin/tests/js/filelistSpec.js
@@ -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);