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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy