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:
parent
80a6c9e76f
commit
b3d9251015
13 changed files with 24 additions and 17 deletions
|
@ -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()
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue