aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/video-captions.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-21 13:58:35 +0200
committerChocobozzz <me@florianbigard.com>2021-07-21 13:58:35 +0200
commitc63830f15403ac4e750829f27d8bbbdc9a59282c (patch)
treef35048f1b2249bb3eec916964c084b1cd60f7bf3 /server/tests/api/check-params/video-captions.ts
parent4d029ef8ec3d5274eeaa3ee6d808eb7035e7faef (diff)
downloadPeerTube-c63830f15403ac4e750829f27d8bbbdc9a59282c.tar.gz
PeerTube-c63830f15403ac4e750829f27d8bbbdc9a59282c.tar.zst
PeerTube-c63830f15403ac4e750829f27d8bbbdc9a59282c.zip
Rename captions commands
Diffstat (limited to 'server/tests/api/check-params/video-captions.ts')
-rw-r--r--server/tests/api/check-params/video-captions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/check-params/video-captions.ts b/server/tests/api/check-params/video-captions.ts
index 5aaeb27fe..90f429314 100644
--- a/server/tests/api/check-params/video-captions.ts
+++ b/server/tests/api/check-params/video-captions.ts
@@ -151,7 +151,7 @@ describe('Test video captions API validator', function () {
151 // }) 151 // })
152 152
153 it('Should succeed with a valid captionfile extension and octet-stream mime type', async function () { 153 it('Should succeed with a valid captionfile extension and octet-stream mime type', async function () {
154 await server.captions.createVideoCaption({ 154 await server.captions.add({
155 language: 'zh', 155 language: 'zh',
156 videoId: video.uuid, 156 videoId: video.uuid,
157 fixture: 'subtitle-good.srt', 157 fixture: 'subtitle-good.srt',