1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Server: Uploads -> Videos

This commit is contained in:
Chocobozzz 2016-10-21 11:33:31 +02:00
parent 80a6c9e76f
commit b3d9251015
13 changed files with 24 additions and 17 deletions

View file

@ -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()
})
})
})
})