style: #6556 set default user image, set users image #2168
|
@ -13,11 +13,4 @@ describe('image download()', () => {
|
||||||
|
|
||||||
expect(contentType).toEqual('image/png');
|
expect(contentType).toEqual('image/png');
|
||||||
});
|
});
|
||||||
|
|
||||||
it(`should return false if the user doesn't have image`, async() => {
|
|
||||||
jon marked this conversation as resolved
Outdated
|
|||||||
const userId = 1110;
|
|
||||||
const image = await models.Image.download(ctx, collection, size, userId);
|
|
||||||
|
|
||||||
expect(image).toBeFalse();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
He quitado este test porque con esta tarea todos los usuarios pasan a tener foto, por lo que iba a dar error siempre