Skip to content

Commit 676fab9

Browse files
ggazzoCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f747ccd commit 676fab9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/meteor/tests/end-to-end/api/methods.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3205,7 +3205,7 @@ describe('Meteor.methods', () => {
32053205
.expect('Content-Type', 'application/json')
32063206
.expect(400)
32073207
.expect((res) => {
3208-
expect(res.body).to.have.property('success', true);
3208+
expect(res.body).to.have.property('success', false);
32093209
const parsedBody = JSON.parse(res.body.message);
32103210
expect(parsedBody).to.have.property('error');
32113211
expect(parsedBody.error).to.have.property('error', 'error-max-rooms-per-guest-reached');
@@ -3229,7 +3229,7 @@ describe('Meteor.methods', () => {
32293229
})
32303230
.expect(400)
32313231
.expect((res) => {
3232-
expect(res.body).to.have.property('success', true);
3232+
expect(res.body).to.have.property('success', false);
32333233
const parsedBody = JSON.parse(res.body.message);
32343234
expect(parsedBody).to.have.property('error');
32353235
expect(parsedBody.error).to.have.property('error', 'Invalid setting value NaN');

0 commit comments

Comments
 (0)