Skip to content

Commit

Permalink
Fixed auth message.
Browse files Browse the repository at this point in the history
  • Loading branch information
j-rewerts committed Jan 25, 2021
1 parent 6027f56 commit b118395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/auth.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ describe('Github', function() {
it('should fail authentication and return err', function(done) {
user.listNotifications(assertFailure(done, function(err) {
expect(err.response.status).to.be.equal(401, 'Return 401 status for bad auth');
expect(err.response.data.message).to.equal('Bad credentials');
expect(err.response.data.message).to.equal('Requires authentication');

done();
}));
Expand Down

0 comments on commit b118395

Please sign in to comment.