diff --git a/server/tests/unit/nest/files.controller.test.ts b/server/tests/unit/nest/files.controller.test.ts index c81fc37a..b402e0bc 100644 --- a/server/tests/unit/nest/files.controller.test.ts +++ b/server/tests/unit/nest/files.controller.test.ts @@ -240,7 +240,7 @@ describe('PhotosController', () => { await c.thumbnail(user2, '5', res); expect(stream).toHaveBeenCalledWith(res, 1, 5, 'thumbnail'); await c.original(user2, '5', res); - expect(stream).toHaveBeenCalledWith(res, 1, 5, 'original'); + expect(stream).toHaveBeenCalledWith(res, 1, 5, 'original', undefined); }); it('info writes the data, maps a service error', async () => {