Skip to content

Commit

Permalink
Merge pull request hagopj13#63 from adrian-filipow/master
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
hagopj13 authored Jan 10, 2021
2 parents 4f8884e + 16732b0 commit 707bbd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/user.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe('User routes', () => {
expect(dbUser.role).toBe('admin');
});

test('should return 401 error is access token is missing', async () => {
test('should return 401 error if access token is missing', async () => {
await request(app).post('/v1/users').send(newUser).expect(httpStatus.UNAUTHORIZED);
});

Expand Down

0 comments on commit 707bbd4

Please sign in to comment.