7152-devToTest_2414 #2228
|
@ -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() => {
|
|
||||||
const userId = 1110;
|
|
||||||
const image = await models.Image.download(ctx, collection, size, userId);
|
|
||||||
|
|
||||||
expect(image).toBeFalse();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue