Skip to content

Commit 076229d

Browse files
j-rewertsclayreimann
authored andcommitted
Fixed null ref test failure.
1 parent 64a9223 commit 076229d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/repository.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ describe('Repository', function() {
169169

170170
it('should fail when null ref is passed', function(done) {
171171
remoteRepo.getSingleCommit(null, assertFailure(done, function(err) {
172-
expect(err.response.status).to.be(404);
172+
expect(err.response.status).to.be(422);
173173
done();
174174
}));
175175
});

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