aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/video-playlists.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-06-06 11:14:13 +0200
committerChocobozzz <me@florianbigard.com>2023-06-29 10:19:05 +0200
commitc37e305342c8655325f9606aa1f4b29abc471b39 (patch)
tree7d0529c0895c0522de9e77c8ab4d48e502599d2c /server/tests/api/check-params/video-playlists.ts
parent881958d17902b1efbb184400d7e5030cfc5b7224 (diff)
downloadPeerTube-c37e305342c8655325f9606aa1f4b29abc471b39.tar.gz
PeerTube-c37e305342c8655325f9606aa1f4b29abc471b39.tar.zst
PeerTube-c37e305342c8655325f9606aa1f4b29abc471b39.zip
Fix CI tests
Diffstat (limited to 'server/tests/api/check-params/video-playlists.ts')
-rw-r--r--server/tests/api/check-params/video-playlists.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/check-params/video-playlists.ts b/server/tests/api/check-params/video-playlists.ts
index 8090897c1..8c3233e0b 100644
--- a/server/tests/api/check-params/video-playlists.ts
+++ b/server/tests/api/check-params/video-playlists.ts
@@ -196,7 +196,7 @@ describe('Test video playlists API validator', function () {
196 attributes: { 196 attributes: {
197 displayName: 'display name', 197 displayName: 'display name',
198 privacy: VideoPlaylistPrivacy.UNLISTED, 198 privacy: VideoPlaylistPrivacy.UNLISTED,
199 thumbnailfile: 'thumbnail.jpg', 199 thumbnailfile: 'custom-thumbnail.jpg',
200 videoChannelId: server.store.channel.id, 200 videoChannelId: server.store.channel.id,
201 201
202 ...attributes 202 ...attributes
@@ -260,7 +260,7 @@ describe('Test video playlists API validator', function () {
260 }) 260 })
261 261
262 it('Should fail with a thumbnail file too big', async function () { 262 it('Should fail with a thumbnail file too big', async function () {
263 const params = getBase({ thumbnailfile: 'preview-big.png' }) 263 const params = getBase({ thumbnailfile: 'custom-preview-big.png' })
264 264
265 await command.create(params) 265 await command.create(params)
266 await command.update(getUpdate(params, playlist.shortUUID)) 266 await command.update(getUpdate(params, playlist.shortUUID))