From a0ec1e668c5beea02418ed7c3d205df07fd7b834 Mon Sep 17 00:00:00 2001 From: Shakeel Mohamed Date: Fri, 6 Oct 2017 09:57:20 -0700 Subject: [PATCH] test: replace common.fixturesDir with fixtures PR-URL: https://github.com/nodejs/node/pull/15857 Reviewed-By: Gireesh Punathil Reviewed-By: Rich Trott --- test/parallel/test-tls-client-resume.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-tls-client-resume.js b/test/parallel/test-tls-client-resume.js index fccdf6d930..d99c11a3e6 100644 --- a/test/parallel/test-tls-client-resume.js +++ b/test/parallel/test-tls-client-resume.js @@ -30,11 +30,11 @@ if (!common.hasCrypto) const assert = require('assert'); const tls = require('tls'); -const fs = require('fs'); +const fixtures = require('../common/fixtures'); const options = { - key: fs.readFileSync(`${common.fixturesDir}/keys/agent2-key.pem`), - cert: fs.readFileSync(`${common.fixturesDir}/keys/agent2-cert.pem`) + key: fixtures.readKey('agent2-key.pem'), + cert: fixtures.readKey('agent2-cert.pem') }; // create server