diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-16 14:22:16 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-16 14:31:40 +0200 |
commit | f4001cf408a99049d01a356bfb20a62342de06ea (patch) | |
tree | 421776dfe64335dca2725ac3ac5f3b3e6b7564c6 /server/tests/utils | |
parent | 16f7022b06fb76c0b00c23c970bc8df605b0ec63 (diff) | |
download | PeerTube-f4001cf408a99049d01a356bfb20a62342de06ea.tar.gz PeerTube-f4001cf408a99049d01a356bfb20a62342de06ea.tar.zst PeerTube-f4001cf408a99049d01a356bfb20a62342de06ea.zip |
Handle .srt subtitles
Diffstat (limited to 'server/tests/utils')
-rw-r--r-- | server/tests/utils/videos/videos.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/utils/videos/videos.ts b/server/tests/utils/videos/videos.ts index 4f7ce6d6b..74bf7354e 100644 --- a/server/tests/utils/videos/videos.ts +++ b/server/tests/utils/videos/videos.ts | |||
@@ -301,7 +301,7 @@ function searchVideoWithSort (url: string, search: string, sort: string) { | |||
301 | async function checkVideoFilesWereRemoved (videoUUID: string, serverNumber: number) { | 301 | async function checkVideoFilesWereRemoved (videoUUID: string, serverNumber: number) { |
302 | const testDirectory = 'test' + serverNumber | 302 | const testDirectory = 'test' + serverNumber |
303 | 303 | ||
304 | for (const directory of [ 'videos', 'thumbnails', 'torrents', 'previews' ]) { | 304 | for (const directory of [ 'videos', 'thumbnails', 'torrents', 'previews', 'captions' ]) { |
305 | const directoryPath = join(root(), testDirectory, directory) | 305 | const directoryPath = join(root(), testDirectory, directory) |
306 | 306 | ||
307 | const directoryExists = existsSync(directoryPath) | 307 | const directoryExists = existsSync(directoryPath) |