Fixed incorrect subject name of test client certificate.
This commit is contained in:
parent
2e5c92d41e
commit
86321a2c60
1 changed files with 2 additions and 2 deletions
|
@ -207,11 +207,11 @@ describe('app module', function () {
|
|||
app.on('select-client-certificate', function (event, webContents, url, list, callback) {
|
||||
assert.equal(list.length, 1)
|
||||
assert.equal(list[0].issuerName, 'Intermediate CA')
|
||||
assert.equal(list[0].subjectName, 'localhost')
|
||||
assert.equal(list[0].subjectName, 'Client Cert')
|
||||
assert(list[0].issuer)
|
||||
assert.equal(list[0].issuer.commonName, 'Intermediate CA')
|
||||
assert(list[0].subject)
|
||||
assert.equal(list[0].subject.commonName, 'localhost')
|
||||
assert.equal(list[0].subject.commonName, 'Client Cert')
|
||||
assert(list[0].issuerCert)
|
||||
assert(list[0].issuerCert.subject)
|
||||
assert.equal(list[0].issuerCert.subject.commonName, 'Intermediate CA')
|
||||
|
|
Loading…
Reference in a new issue