mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-22 11:08:10 +00:00
how about now
This commit is contained in:
@@ -528,10 +528,10 @@ describe('Tests for admin api', ()=>{
|
|||||||
|
|
||||||
expect(response.status).toBe(500);
|
expect(response.status).toBe(500);
|
||||||
expect(response.body).toEqual({
|
expect(response.body).toEqual({
|
||||||
HBErrorCode : '70',
|
HBErrorCode : '71',
|
||||||
code : 500,
|
code : 500,
|
||||||
message : `Cannot find a locked brew with ID ${testBrew.shareId}`,
|
message : `Review already requested for brew ${testBrew.shareId} - ${testBrew.title}`,
|
||||||
name : 'Brew Not Found',
|
name : 'Review Already Requested',
|
||||||
originalUrl : `/api/lock/review/request/${testBrew.shareId}`
|
originalUrl : `/api/lock/review/request/${testBrew.shareId}`
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user