fix(test): adjust expectation for exploit fix

This commit is contained in:
SabreCat
2022-08-25 10:22:16 -05:00
parent 986d38af69
commit 3284611bbf

View File

@@ -137,9 +137,9 @@ describe('POST /user/class/cast/:spellId', () => {
await expect(groupLeader.post(`/user/class/cast/pickPocket?targetId=${groupTask._id}`))
.to.eventually.be.rejected.and.eql({
code: 400,
error: 'BadRequest',
message: t('groupTasksNoCast'),
code: 404,
error: 'NotFound',
message: t('messageTaskNotFound'),
});
});