From 3729ba3d6d2b596b7b80e87b443d61d1c83f2154 Mon Sep 17 00:00:00 2001 From: Osmond van Hemert Date: Thu, 8 Nov 2018 15:04:09 +0100 Subject: [PATCH] test: https agent clientcertengine coverage --- test/parallel/test-https-agent-getname.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-https-agent-getname.js b/test/parallel/test-https-agent-getname.js index c29e09731df0b2..b68850f21d57ca 100644 --- a/test/parallel/test-https-agent-getname.js +++ b/test/parallel/test-https-agent-getname.js @@ -22,6 +22,7 @@ const options = { localAddress: '192.168.1.1', ca: 'ca', cert: 'cert', + clientCertEngine: 'dynamic', ciphers: 'ciphers', crl: [Buffer.from('c'), Buffer.from('r'), Buffer.from('l')], dhparam: 'dhparam', @@ -38,6 +39,6 @@ const options = { assert.strictEqual( agent.getName(options), - '0.0.0.0:443:192.168.1.1:ca:cert::ciphers:key:pfx:false:localhost:' + + '0.0.0.0:443:192.168.1.1:ca:cert:dynamic:ciphers:key:pfx:false:localhost:' + 'secureProtocol:c,r,l:false:ecdhCurve:dhparam:0:sessionIdContext' );