diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-21 13:58:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-21 13:58:35 +0200 |
commit | c63830f15403ac4e750829f27d8bbbdc9a59282c (patch) | |
tree | f35048f1b2249bb3eec916964c084b1cd60f7bf3 /server/tests/api/search | |
parent | 4d029ef8ec3d5274eeaa3ee6d808eb7035e7faef (diff) | |
download | PeerTube-c63830f15403ac4e750829f27d8bbbdc9a59282c.tar.gz PeerTube-c63830f15403ac4e750829f27d8bbbdc9a59282c.tar.zst PeerTube-c63830f15403ac4e750829f27d8bbbdc9a59282c.zip |
Rename captions commands
Diffstat (limited to 'server/tests/api/search')
-rw-r--r-- | server/tests/api/search/search-videos.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/search/search-videos.ts b/server/tests/api/search/search-videos.ts index f834c7f36..965766742 100644 --- a/server/tests/api/search/search-videos.ts +++ b/server/tests/api/search/search-videos.ts | |||
@@ -50,14 +50,14 @@ describe('Test videos search', function () { | |||
50 | const { id, uuid } = await server.videos.upload({ attributes: attributes3 }) | 50 | const { id, uuid } = await server.videos.upload({ attributes: attributes3 }) |
51 | videoUUID = uuid | 51 | videoUUID = uuid |
52 | 52 | ||
53 | await server.captions.createVideoCaption({ | 53 | await server.captions.add({ |
54 | language: 'en', | 54 | language: 'en', |
55 | videoId: id, | 55 | videoId: id, |
56 | fixture: 'subtitle-good2.vtt', | 56 | fixture: 'subtitle-good2.vtt', |
57 | mimeType: 'application/octet-stream' | 57 | mimeType: 'application/octet-stream' |
58 | }) | 58 | }) |
59 | 59 | ||
60 | await server.captions.createVideoCaption({ | 60 | await server.captions.add({ |
61 | language: 'aa', | 61 | language: 'aa', |
62 | videoId: id, | 62 | videoId: id, |
63 | fixture: 'subtitle-good2.vtt', | 63 | fixture: 'subtitle-good2.vtt', |