This commit is contained in:
parent
82001d8352
commit
c6f7a8bdb0
|
@ -13,11 +13,4 @@ describe('image download()', () => {
|
|||
|
||||
expect(contentType).toEqual('image/png');
|
||||
});
|
||||
|
||||
it(`should return false if the user doesn't have image`, async() => {
|
||||
const userId = 1110;
|
||||
const image = await models.Image.download(ctx, collection, size, userId);
|
||||
|
||||
expect(image).toBeFalse();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue