summaryrefslogtreecommitdiff
path: root/tests/backend
diff options
context:
space:
mode:
Diffstat (limited to 'tests/backend')
-rw-r--r--tests/backend/specs/api/pad.js2
-rw-r--r--tests/backend/specs/api/sessionsAndGroups.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/backend/specs/api/pad.js b/tests/backend/specs/api/pad.js
index fa9863fb..80f77220 100644
--- a/tests/backend/specs/api/pad.js
+++ b/tests/backend/specs/api/pad.js
@@ -1,5 +1,5 @@
var assert = require('assert')
- supertest = require('supertest'),
+ supertest = require(__dirname+'/../../../../src/node_modules/supertest'),
fs = require('fs'),
api = supertest('http://localhost:9001');
path = require('path');
diff --git a/tests/backend/specs/api/sessionsAndGroups.js b/tests/backend/specs/api/sessionsAndGroups.js
index fc913748..86ba454a 100644
--- a/tests/backend/specs/api/sessionsAndGroups.js
+++ b/tests/backend/specs/api/sessionsAndGroups.js
@@ -1,5 +1,5 @@
var assert = require('assert')
- supertest = require('supertest'),
+ supertest = require(__dirname+'/../../../../src/node_modules/supertest'),
fs = require('fs'),
api = supertest('http://localhost:9001');
path = require('path');