Skip to content
Prev Previous commit
Next Next commit
Return true from certificateCheck in transfer test
  • Loading branch information
John Haley committed Feb 19, 2015
commit b746beac8d9decf54fba50b983dc58962df659f6
4 changes: 2 additions & 2 deletions test/tests/remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ describe("Remote", function() {
.then(function(remote) {
remote.setCallbacks({
certificateCheck: function() {
return 0;
return 1;
},

transferProgress: function() {
Expand All @@ -138,7 +138,7 @@ describe("Remote", function() {
})
.then(function() {
assert.ok(wasCalled);

Remote.delete(repo, "test2");
});
});
Expand Down