1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02: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',