diff --git a/test/lib-http-proxy-test.js b/test/lib-http-proxy-test.js index edbb6f9f16004585e850139644fe25cf2827ad5f..385c8aad27c348a0f66347c2e035a7efa209e55c 100644 --- a/test/lib-http-proxy-test.js +++ b/test/lib-http-proxy-test.js @@ -419,7 +419,7 @@ describe('lib/http-proxy.js', function() { var destiny = io.listen(server); function startSocketIo() { - var client = ioClient.connect('ws://127.0.0.1:' + ports.proxy); + var client = ioClient.connect('ws://127.0.0.1:' + ports.proxy, {rejectUnauthorized: null}); client.on('connect', function () { client.disconnect(); });