diff options
author | tpurcell <tpurcell@chariotsolutions.com> | 2017-10-17 21:34:01 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2017-10-24 00:21:13 +0300 |
commit | f9321bb2f6980e7d67f859a97432d4ce1c961832 (patch) | |
tree | 98665e078d3ed2bcabd6d9bf1759abce6fc66724 /test | |
parent | d0fc7ab4d22533c3814e1adfc606e6e6ddc6479b (diff) |
test: replace fixturesDir with fixtures module
PR-URL: https://github.com/nodejs/node/pull/16262
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-https-client-resume.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-https-client-resume.js b/test/parallel/test-https-client-resume.js index d61d91964b0..149f0ccf01a 100644 --- a/test/parallel/test-https-client-resume.js +++ b/test/parallel/test-https-client-resume.js @@ -30,11 +30,11 @@ if (!common.hasCrypto) const assert = require('assert'); const https = require('https'); 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 |