diff --git a/spec/api-app-spec.js b/spec/api-app-spec.js index 6485d85cc5f3..dccf1ad52d57 100644 --- a/spec/api-app-spec.js +++ b/spec/api-app-spec.js @@ -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')