mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
remove success field from json responses
This commit is contained in:
@@ -31,7 +31,6 @@ describe('response middleware', function() {
|
||||
expect(res.status).to.be.calledWith(200);
|
||||
expect(res.json).to.be.calledWith({
|
||||
field: 1,
|
||||
success: true,
|
||||
});
|
||||
});
|
||||
|
||||
@@ -45,7 +44,6 @@ describe('response middleware', function() {
|
||||
expect(res.status).to.be.calledWith(403);
|
||||
expect(res.json).to.be.calledWith({
|
||||
field: 1,
|
||||
success: false,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user