Skip to content

Commit

Permalink
rename error to message as response structure changed in prev com…
Browse files Browse the repository at this point in the history
…mit (#14)
  • Loading branch information
satyajitnayk authored Dec 23, 2023
1 parent 3236e65 commit 8ff22e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/users.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ describe('User Routes', () => {
});

expect(response.statusCode).toBe(200);
expect(response.json()).toEqual({ error: 'User not found' });
expect(response.json()).toEqual({ message: 'User not found' });
});
});

0 comments on commit 8ff22e3

Please sign in to comment.