Skip to content

Commit

Permalink
reducing album indexing manager scope
Browse files Browse the repository at this point in the history
  • Loading branch information
bpatrik committed May 31, 2021
1 parent f1818c1 commit f2ab96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/backend/unit/model/sql/IndexingManager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit f2ab96f

Please sign in to comment.