From b3d92510157f9066ea7fa82c303bea7a10eb55b6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 21 Oct 2016 11:33:31 +0200 Subject: Server: Uploads -> Videos --- server/tests/api/single-pod.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'server/tests/api/single-pod.js') diff --git a/server/tests/api/single-pod.js b/server/tests/api/single-pod.js index 623a1a6a3..3125312ca 100644 --- a/server/tests/api/single-pod.js +++ b/server/tests/api/single-pod.js @@ -245,11 +245,18 @@ describe('Test a single pod', function () { videosUtils.removeVideo(server.url, server.accessToken, videoId, function (err) { if (err) throw err - fs.readdir(pathUtils.join(__dirname, '../../../test1/uploads/'), function (err, files) { + fs.readdir(pathUtils.join(__dirname, '../../../test1/videos/'), function (err, files) { if (err) throw err expect(files.length).to.equal(0) - done() + + fs.readdir(pathUtils.join(__dirname, '../../../test1/thumbnails/'), function (err, files) { + if (err) throw err + + expect(files.length).to.equal(0) + + done() + }) }) }) }) -- cgit v1.2.3