Skip to content

Commit

Permalink
rename test
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Van den Mooter committed Jul 11, 2018
1 parent 269ceb5 commit 0b02283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/auth.route.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ describe('/auth', () => {
expect(body.errors[0].code).toEqual(errors.USER_INVALID_CREDENTIALS.code);
expect(body.errors[0].detail).toEqual(errors.USER_INVALID_CREDENTIALS.message);
});
it('Should throw error when invalid password is provided', async () => {
it('Should throw error when invalid user is provided', async () => {
const { body, status } = await request(app)
.post(`${prefix}/auth/login`)
.send({
Expand Down

0 comments on commit 0b02283

Please sign in to comment.