From 86321a2c607e96b267496dc69816e3d8b7a4d34d Mon Sep 17 00:00:00 2001 From: Greg Nolle Date: Tue, 15 Nov 2016 09:36:48 +0000 Subject: [PATCH] Fixed incorrect subject name of test client certificate. --- spec/api-app-spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')