1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02:00
This commit is contained in:
Patrik J. Braun 2023-09-12 00:09:11 +02:00
parent 577a3ea480
commit d7a9d1559a

View File

@ -62,7 +62,7 @@ describe('GalleryGridComponent', () => {
setGridPhotoQL: () => { setGridPhotoQL: () => {
// mock // mock
} }
} as unknown; } as never;
fixture.detectChanges(); fixture.detectChanges();
}); });
@ -73,7 +73,7 @@ describe('GalleryGridComponent', () => {
const phs: PhotoDTO[] = []; const phs: PhotoDTO[] = [];
const gPhs: GridMedia[] = []; const gPhs: GridMedia[] = [];
for (let i = 0; i < 10; ++i) { for (let i = 0; i < 10; ++i) {
const p = {name: i + '.jpg', directory: {name: 'd' + i, path: 'p' + i}} as unknown; const p = {name: i + '.jpg', directory: {name: 'd' + i, path: 'p' + i}} as PhotoDTO;
phs.push(p); phs.push(p);
gPhs.push(new GridMedia(p, 1, 1, i)); gPhs.push(new GridMedia(p, 1, 1, i));
} }