aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/single-pod.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/single-pod.js b/server/tests/api/single-pod.js
index 2db60448f..83a2b4411 100644
--- a/server/tests/api/single-pod.js
+++ b/server/tests/api/single-pod.js
@@ -251,12 +251,12 @@ describe('Test a single pod', function () {
251 videosUtils.removeVideo(server.url, server.accessToken, videoId, function (err) { 251 videosUtils.removeVideo(server.url, server.accessToken, videoId, function (err) {
252 if (err) throw err 252 if (err) throw err
253 253
254 fs.readdir(pathUtils.join(__dirname, '../../../test1/videos/'), function (err, files) { 254 fs.readdir(pathUtils.join(__dirname, '..', '..', '..', 'test1/videos/'), function (err, files) {
255 if (err) throw err 255 if (err) throw err
256 256
257 expect(files.length).to.equal(0) 257 expect(files.length).to.equal(0)
258 258
259 fs.readdir(pathUtils.join(__dirname, '../../../test1/thumbnails/'), function (err, files) { 259 fs.readdir(pathUtils.join(__dirname, '..', '..', '..', 'test1/thumbnails/'), function (err, files) {
260 if (err) throw err 260 if (err) throw err
261 261
262 expect(files.length).to.equal(0) 262 expect(files.length).to.equal(0)