diff --git a/test/uploads.js b/test/uploads.js index d4016ea541..e2f03803ab 100644 --- a/test/uploads.js +++ b/test/uploads.js @@ -208,7 +208,7 @@ describe('Upload Controllers', () => { assert.ifError(err); assert.strictEqual(res.statusCode, 500); assert(body && body.status && body.status.message); - assert(body.status.message.startsWith('pngload_buffer: non-recoverable state')); + assert(body.status.message.startsWith('Input file has corrupt header: pngload: end of stream')); done(); }); });