diff options
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/single-pod.js | 11 |
1 files changed, 9 insertions, 2 deletions
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 () { | |||
245 | videosUtils.removeVideo(server.url, server.accessToken, videoId, function (err) { | 245 | videosUtils.removeVideo(server.url, server.accessToken, videoId, function (err) { |
246 | if (err) throw err | 246 | if (err) throw err |
247 | 247 | ||
248 | fs.readdir(pathUtils.join(__dirname, '../../../test1/uploads/'), function (err, files) { | 248 | fs.readdir(pathUtils.join(__dirname, '../../../test1/videos/'), function (err, files) { |
249 | if (err) throw err | 249 | if (err) throw err |
250 | 250 | ||
251 | expect(files.length).to.equal(0) | 251 | expect(files.length).to.equal(0) |
252 | done() | 252 | |
253 | fs.readdir(pathUtils.join(__dirname, '../../../test1/thumbnails/'), function (err, files) { | ||
254 | if (err) throw err | ||
255 | |||
256 | expect(files.length).to.equal(0) | ||
257 | |||
258 | done() | ||
259 | }) | ||
253 | }) | 260 | }) |
254 | }) | 261 | }) |
255 | }) | 262 | }) |