From 8bcc8a1ad1f422c9086496370518f709d17e1497 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 PR-URL: https://github.com/nodejs/node/pull/24248 Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Rich Trott --- 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' );