diff options
Diffstat (limited to 'server/tests/api/utils.js')
-rw-r--r-- | server/tests/api/utils.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/utils.js b/server/tests/api/utils.js index 47b706294..c70696571 100644 --- a/server/tests/api/utils.js +++ b/server/tests/api/utils.js | |||
@@ -22,7 +22,7 @@ var testUtils = { | |||
22 | // ---------------------- Export functions -------------------- | 22 | // ---------------------- Export functions -------------------- |
23 | 23 | ||
24 | function flushTests (callback) { | 24 | function flushTests (callback) { |
25 | exec(pathUtils.join(__dirname, '../../scripts/clean_test.sh'), callback) | 25 | exec(pathUtils.join(__dirname, '../../../bin/clean_test.sh'), callback) |
26 | } | 26 | } |
27 | 27 | ||
28 | function getFriendsList (url, end) { | 28 | function getFriendsList (url, end) { |
@@ -139,7 +139,7 @@ function runServer (number, callback) { | |||
139 | detached: true | 139 | detached: true |
140 | } | 140 | } |
141 | 141 | ||
142 | var app = fork(pathUtils.join(__dirname, '../../server.js'), [], options) | 142 | var app = fork(pathUtils.join(__dirname, '../../../server.js'), [], options) |
143 | app.stdout.on('data', function onStdout (data) { | 143 | app.stdout.on('data', function onStdout (data) { |
144 | var dont_continue = false | 144 | var dont_continue = false |
145 | // Check if all required sentences are here | 145 | // Check if all required sentences are here |