style: #6556 set default user image, set users image #2168

Merged
jon merged 11 commits from 6556-ChangeImages into dev 2024-03-26 06:35:12 +00:00
1 changed files with 0 additions and 7 deletions
Showing only changes of commit c6f7a8bdb0 - Show all commits

View File

@ -13,11 +13,4 @@ describe('image download()', () => {
expect(contentType).toEqual('image/png');
});
it(`should return false if the user doesn't have image`, async() => {
jon marked this conversation as resolved Outdated
Outdated
Review

He quitado este test porque con esta tarea todos los usuarios pasan a tener foto, por lo que iba a dar error siempre

He quitado este test porque con esta tarea todos los usuarios pasan a tener foto, por lo que iba a dar error siempre
const userId = 1110;
const image = await models.Image.download(ctx, collection, size, userId);
expect(image).toBeFalse();
});
});