Skip to content

Commit 39897b3

Browse files
committed
test: expect 400 when the direct message does not exist
1 parent 544b648 commit 39897b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2740,7 +2740,7 @@ describe('Meteor.methods', () => {
27402740
msg: 'method',
27412741
}),
27422742
})
2743-
.expect(200);
2743+
.expect(400);
27442744

27452745
const parsedResponse = JSON.parse(res.body.message);
27462746
expect(parsedResponse).to.have.property('error');

0 commit comments

Comments
 (0)