From f5ea4c05bf3738966cefcfb72192caf919039d54 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Thu, 3 Jun 2021 09:51:43 +0200 Subject: [PATCH] Fix test --- test/utils.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/utils.test.js b/test/utils.test.js index 17b09e7..18e7d58 100644 --- a/test/utils.test.js +++ b/test/utils.test.js @@ -56,9 +56,9 @@ describe('utils.generateProxyURL', () => { } expect( doipjs.utils.generateProxyURL('http', { domain: 'domain.org' }, opts) - ).to.equal('http://localhost/api/2/get/http?domain=domain.org') + ).to.equal('https://localhost/api/2/get/http?domain=domain.org') expect( doipjs.utils.generateProxyURL('dns', { domain: 'domain.org' }, opts) - ).to.equal('http://localhost/api/2/get/dns?domain=domain.org') + ).to.equal('https://localhost/api/2/get/dns?domain=domain.org') }) })