From 47bfdd234db0c1aa16fb41972384f703c337059b Mon Sep 17 00:00:00 2001 From: Maurice Hayward Date: Fri, 6 Oct 2017 12:25:07 -0700 Subject: [PATCH] test: changes test-https-unix-socket-self-signed.js so that it replace common.fixturesDir with common.fixtures module --- test/parallel/test-https-unix-socket-self-signed.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-https-unix-socket-self-signed.js b/test/parallel/test-https-unix-socket-self-signed.js index 6653cdd5f8de08..6e7cf827472a88 100644 --- a/test/parallel/test-https-unix-socket-self-signed.js +++ b/test/parallel/test-https-unix-socket-self-signed.js @@ -6,11 +6,11 @@ if (!common.hasCrypto) common.refreshTmpDir(); -const fs = require('fs'); +const fixtures = require('../common/fixtures'); const https = require('https'); const options = { - cert: fs.readFileSync(`${common.fixturesDir}/test_cert.pem`), - key: fs.readFileSync(`${common.fixturesDir}/test_key.pem`) + cert: fixtures.readSync('test_cert.pem'), + key: fixtures.readSync('test_key.pem') }; const server = https.createServer(options, common.mustCall((req, res) => {