We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6027f56 commit b118395Copy full SHA for b118395
test/auth.spec.js
@@ -84,7 +84,7 @@ describe('Github', function() {
84
it('should fail authentication and return err', function(done) {
85
user.listNotifications(assertFailure(done, function(err) {
86
expect(err.response.status).to.be.equal(401, 'Return 401 status for bad auth');
87
- expect(err.response.data.message).to.equal('Bad credentials');
+ expect(err.response.data.message).to.equal('Requires authentication');
88
89
done();
90
}));
0 commit comments