From 71daa68c3d6f12fd35bbb34462886e1bec7cadfd Mon Sep 17 00:00:00 2001 From: Joe Grace Date: Fri, 6 Oct 2017 10:15:52 -0700 Subject: [PATCH] test: use fixtures module instead of common PR-URL: https://github.com/nodejs/node/pull/15925 Reviewed-By: Ruben Bridgewater --- test/parallel/test-https-simple.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-https-simple.js b/test/parallel/test-https-simple.js index 9184430888960d..397040ac1cb214 100644 --- a/test/parallel/test-https-simple.js +++ b/test/parallel/test-https-simple.js @@ -1,16 +1,16 @@ 'use strict'; const common = require('../common'); +const fixtures = require('../common/fixtures'); if (!common.hasCrypto) common.skip('missing crypto'); const assert = require('assert'); const https = require('https'); -const fs = require('fs'); 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 tests = 2;