1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Fixed tests to match new behaviour

This commit is contained in:
Laurent Cozic 2019-04-02 00:22:04 +01:00
parent 5ad0b2eed9
commit 496c9ddb91

View File

@ -119,8 +119,8 @@ describe('models_Folder', function() {
folders = await Folder.orderByLastModified(await Folder.all(), 'desc');
expect(folders.length).toBe(4);
expect(folders[0].id).toBe(f4.id);
expect(folders[1].id).toBe(f1.id);
expect(folders[0].id).toBe(f1.id);
expect(folders[1].id).toBe(f4.id);
expect(folders[2].id).toBe(f3.id);
expect(folders[3].id).toBe(f2.id);
}));