mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
fix(test): same thing for v3
This commit is contained in:
@@ -152,9 +152,9 @@ describe('POST /user/class/cast/:spellId', () => {
|
|||||||
|
|
||||||
await expect(groupLeader.post(`/user/class/cast/pickPocket?targetId=${groupTask._id}`))
|
await expect(groupLeader.post(`/user/class/cast/pickPocket?targetId=${groupTask._id}`))
|
||||||
.to.eventually.be.rejected.and.eql({
|
.to.eventually.be.rejected.and.eql({
|
||||||
code: 400,
|
code: 404,
|
||||||
error: 'BadRequest',
|
error: 'NotFound',
|
||||||
message: t('groupTasksNoCast'),
|
message: t('messageTaskNotFound'),
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user