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:
parent
f1818c1ca6
commit
f2ab96faaf
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user