From 1ae12d6e16f2e54add7cea629225fa8c63288581 Mon Sep 17 00:00:00 2001 From: Michael Pal Date: Fri, 6 Oct 2017 11:22:35 -0700 Subject: [PATCH] test: added fixtures module directly to test/parallel/test-tls-client-getephemeralkeyinfo.js --- test/parallel/test-tls-client-getephemeralkeyinfo.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-tls-client-getephemeralkeyinfo.js b/test/parallel/test-tls-client-getephemeralkeyinfo.js index 28c386b147ead1..3fbd081cabf2bb 100644 --- a/test/parallel/test-tls-client-getephemeralkeyinfo.js +++ b/test/parallel/test-tls-client-getephemeralkeyinfo.js @@ -8,9 +8,8 @@ const assert = require('assert'); const tls = require('tls'); const fs = require('fs'); -const key = fs.readFileSync(`${fixtures.fixturesDir}/keys/agent2-key.pem`); -const cert = fs.readFileSync(`${fixtures.fixturesDir}/keys/agent2-cert.pem`); - +const key = fixtures.readKey('agent2-key.pem'); +const cert = fixtures.readKey('agent2-cert.pem'); let ntests = 0; let nsuccess = 0;