From f06f6b766f64f3245361ca2d786b61ba5da204a2 Mon Sep 17 00:00:00 2001 From: Alberto Lopez de Lara Date: Fri, 6 Oct 2017 09:54:19 -0700 Subject: [PATCH] test: replace common.fixturesDir with usage of the common.fixtures in test-https-close --- test/parallel/test-https-close.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-https-close.js b/test/parallel/test-https-close.js index 1590f3cb5b38cf..dc6bf7e230da3a 100644 --- a/test/parallel/test-https-close.js +++ b/test/parallel/test-https-close.js @@ -1,5 +1,6 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); if (!common.hasCrypto) common.skip('missing crypto'); @@ -7,8 +8,8 @@ const fs = require('fs'); const https = require('https'); const options = { - key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`), - cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`) + key: fixtures.readKey('agent1-key.pem'), + cert: fixtures.readKey('agent1-cert.pem') }; const connections = {};