sharp test fix

isekai-main
Barış Soner Uşaklı 2 years ago
parent 22f3d0bb4b
commit c039a699bd

@ -212,7 +212,7 @@ describe('Upload Controllers', () => {
assert.ifError(err);
assert.strictEqual(res.statusCode, 500);
assert(body && body.status && body.status.message);
assert(body.status.message.startsWith('Input file has corrupt header: pngload: end of stream'));
assert.strictEqual(body.status.message, 'Input file contains unsupported image format');
done();
});
});

Loading…
Cancel
Save