Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b118395

Browse files
committed
Fixed auth message.
1 parent 6027f56 commit b118395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/auth.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe('Github', function() {
8484
it('should fail authentication and return err', function(done) {
8585
user.listNotifications(assertFailure(done, function(err) {
8686
expect(err.response.status).to.be.equal(401, 'Return 401 status for bad auth');
87-
expect(err.response.data.message).to.equal('Bad credentials');
87+
expect(err.response.data.message).to.equal('Requires authentication');
8888

8989
done();
9090
}));

0 commit comments

Comments
 (0)