From 27313bd5cfd9b00f6143aaca60f6cd19b94901b7 Mon Sep 17 00:00:00 2001 From: Vsevolod Strukchinsky Date: Fri, 15 Jan 2016 13:35:37 +0500 Subject: [PATCH] replace duplicate test from https Closes #137 --- test/https.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/https.js b/test/https.js index 1c28766..a603eac 100644 --- a/test/https.js +++ b/test/https.js @@ -41,8 +41,8 @@ test.before('setup', async () => { await s.listen(s.port); }); -test('make request to https server', async t => { - t.ok((await got('https://google.com', {strictSSL: true})).body); +test('make request to https server without ca', async t => { + t.ok((await got(s.url, {rejectUnauthorized: false})).body); }); test('make request to https server with ca', async t => {