diff options
Diffstat (limited to 'server/tests/api/videos')
-rw-r--r-- | server/tests/api/videos/video-create-transcoding.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/server/tests/api/videos/video-create-transcoding.ts b/server/tests/api/videos/video-create-transcoding.ts index 128bc885a..c4627e0c1 100644 --- a/server/tests/api/videos/video-create-transcoding.ts +++ b/server/tests/api/videos/video-create-transcoding.ts | |||
@@ -7,6 +7,7 @@ import { | |||
7 | cleanupTests, | 7 | cleanupTests, |
8 | createMultipleServers, | 8 | createMultipleServers, |
9 | doubleFollow, | 9 | doubleFollow, |
10 | expectNoFailedTranscodingJob, | ||
10 | expectStartWith, | 11 | expectStartWith, |
11 | makeRawRequest, | 12 | makeRawRequest, |
12 | ObjectStorageCommand, | 13 | ObjectStorageCommand, |
@@ -30,11 +31,6 @@ async function checkFilesInObjectStorage (video: VideoDetails) { | |||
30 | } | 31 | } |
31 | } | 32 | } |
32 | 33 | ||
33 | async function expectNoFailedTranscodingJob (server: PeerTubeServer) { | ||
34 | const { data } = await server.jobs.listFailed({ jobType: 'video-transcoding' }) | ||
35 | expect(data).to.have.lengthOf(0) | ||
36 | } | ||
37 | |||
38 | function runTests (objectStorage: boolean) { | 34 | function runTests (objectStorage: boolean) { |
39 | let servers: PeerTubeServer[] = [] | 35 | let servers: PeerTubeServer[] = [] |
40 | let videoUUID: string | 36 | let videoUUID: string |