Skip to content

Commit eb81af9

Browse files
author
nicola
committed
no need for second test to run with webid
1 parent 021f301 commit eb81af9

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎index.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,10 @@ function createServer(argv) {
7272

7373
var app = ldnode(argv);
7474
var opts = app.locals.ldp;
75-
75+
7676
if (opts && (opts.webid || opts.key || opts.cert) ) {
77+
debug("SSL Private Key path: " + opts.key);
78+
debug("SSL Certificate path: " + opts.cert);
7779
var credentials = {
7880
key: fs.readFileSync(opts.key),
7981
cert: fs.readFileSync(opts.cert),

‎test/test.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ describe('ldnode', function() {
99
var address = 'http://localhost:3457/test/';
1010
var ldp = ldnode.createServer({
1111
uriBase: address,
12-
fileBase: __dirname
12+
fileBase: __dirname,
13+
webid: false
1314
});
1415
ldp.listen(3457);
1516

0 commit comments

Comments
 (0)