aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-01-17 21:42:47 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-01-17 21:42:47 +0100
commit15103f11ec54989a0dee7fc33daa458ecb116fe4 (patch)
treeb25f8ee33f32ccd61df46afc27a2a4628f9f0be5 /server/tests/api
parent1e4b0080ff1b4e802f71ec1f4cbf8cbcc70cdcbd (diff)
downloadPeerTube-15103f11ec54989a0dee7fc33daa458ecb116fe4.tar.gz
PeerTube-15103f11ec54989a0dee7fc33daa458ecb116fe4.tar.zst
PeerTube-15103f11ec54989a0dee7fc33daa458ecb116fe4.zip
Server: paths refractoring
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)