Skip to content

Commit

Permalink
change expectatins
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Dec 9, 2024
1 parent e5f32e5 commit b03a6d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/integration/api/entities.js
Original file line number Diff line number Diff line change
Expand Up @@ -3818,7 +3818,10 @@ describe('Entities API', () => {
.send({ name: 'x'.repeat(256001) })
.expect(400)
.then(({ body }) => {
body.message.should.equal('Could not parse the given data (256012 chars) as json.');
body.should.equal({
code: 400.36,
message: 'Request body too large.',
});
});
}));

Expand Down

0 comments on commit b03a6d0

Please sign in to comment.