1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Fixing saved search saving test #587

This commit is contained in:
Patrik J. Braun 2023-03-12 11:11:35 +01:00
parent 4aa734096a
commit a58d61f958

View File

@ -711,7 +711,8 @@ describe('IndexingManager', (sqlHelper: DBTestHelper) => {
const albums = await am.getAlbums();
expect(albums[0].preview).to.be.an('object');
delete albums[0].preview;
expect(albums).to.be.equalInAnyOrder([
console.log(albums);
expect(albums).to.be.deep.equal([
{
id: 1,
name: 'Alvin',