From 3d446a26ada901331faaaf3be9083dfe6773b50a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 7 Mar 2016 18:53:03 +0100 Subject: Fix tests --- server/tests/api/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests/api/utils.js') 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 = { // ---------------------- Export functions -------------------- function flushTests (callback) { - exec(pathUtils.join(__dirname, '../../scripts/clean_test.sh'), callback) + exec(pathUtils.join(__dirname, '../../../bin/clean_test.sh'), callback) } function getFriendsList (url, end) { @@ -139,7 +139,7 @@ function runServer (number, callback) { detached: true } - var app = fork(pathUtils.join(__dirname, '../../server.js'), [], options) + var app = fork(pathUtils.join(__dirname, '../../../server.js'), [], options) app.stdout.on('data', function onStdout (data) { var dont_continue = false // Check if all required sentences are here -- cgit v1.2.3