Skip to content

Commit b746bea

Browse files
author
John Haley
committed
Return true from certificateCheck in transfer test
1 parent f15a5a7 commit b746bea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/tests/remote.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ describe("Remote", function() {
126126
.then(function(remote) {
127127
remote.setCallbacks({
128128
certificateCheck: function() {
129-
return 0;
129+
return 1;
130130
},
131131

132132
transferProgress: function() {
@@ -138,7 +138,7 @@ describe("Remote", function() {
138138
})
139139
.then(function() {
140140
assert.ok(wasCalled);
141-
141+
142142
Remote.delete(repo, "test2");
143143
});
144144
});

0 commit comments

Comments
 (0)