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

reducing album indexing manager scope

This commit is contained in:
Patrik J. Braun 2021-05-31 22:41:31 +02:00
parent f1818c1ca6
commit f2ab96faaf

View File

@ -597,12 +597,12 @@ describe('IndexingManager', (sqlHelper: DBTestHelper) => {
const albums = await am.getAlbums();
// expect(albums[0].preview).to.be.an('object');
delete albums[0].preview;
delete albums[0].count;
expect(albums).to.be.equalInAnyOrder([
{
id: 1,
name: 'Alvin',
locked: true,
count: 1,
searchQuery: {
type: SearchQueryTypes.person,
text: 'Alvin',