1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-07-17 01:32:29 +02:00

fixing tests

This commit is contained in:
Patrik J. Braun
2019-03-03 21:36:20 +01:00
parent 5695f74e29
commit 9f1490bc6d
3 changed files with 3 additions and 5 deletions

View File

@ -14,8 +14,8 @@ describe('PersonManager', () => {
it('should upgrade keywords to person', async () => {
const pm = new PersonManager();
pm.loadAll = () => Promise.resolve();
pm.persons = [{name: 'Han Solo', id: 0, faces: [], count: 0},
{name: 'Anakin', id: 2, faces: [], count: 0}];
pm.persons = [{name: 'Han Solo', id: 0, faces: [], count: 0, isFavourite: false},
{name: 'Anakin', id: 2, faces: [], count: 0, isFavourite: false}];
const p_noFaces = <PhotoDTO>{
metadata: {