diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-03-07 18:53:03 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-03-07 18:53:03 +0100 |
commit | 3d446a26ada901331faaaf3be9083dfe6773b50a (patch) | |
tree | 35262fa99301db3f22ca6e61a84ce346ed4f4bb7 /server/tests/api/utils.js | |
parent | 6a1e67b30a77b0e24314617f794a7122dd83c570 (diff) | |
download | PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.tar.gz PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.tar.zst PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.zip |
Fix tests
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 |