Skip to content

Commit

Permalink
test: https agent clientcertengine coverage
Browse files Browse the repository at this point in the history
PR-URL: #24248
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
ovhemert authored and codebytere committed Jan 29, 2019
1 parent c19d6e2 commit 8c81992
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-https-agent-getname.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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'
);

0 comments on commit 8c81992

Please sign in to comment.