diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-17 16:39:32 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-19 11:30:21 +0200 |
commit | 371906639ee9b6ea4daae504bc7c2b15856c3f38 (patch) | |
tree | a1807d7e5648a8b99565cc22daa22a1afbb34db4 /server/tests/api/check-params | |
parent | b75410b87d889ae5b1704cc7f9d32a3792db9075 (diff) | |
download | PeerTube-371906639ee9b6ea4daae504bc7c2b15856c3f38.tar.gz PeerTube-371906639ee9b6ea4daae504bc7c2b15856c3f38.tar.zst PeerTube-371906639ee9b6ea4daae504bc7c2b15856c3f38.zip |
Add ability to a video multiple times in a playlist
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r-- | server/tests/api/check-params/video-playlists.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/server/tests/api/check-params/video-playlists.ts b/server/tests/api/check-params/video-playlists.ts index 46ec00d46..179ae9201 100644 --- a/server/tests/api/check-params/video-playlists.ts +++ b/server/tests/api/check-params/video-playlists.ts | |||
@@ -346,11 +346,6 @@ describe('Test video playlists API validator', function () { | |||
346 | const res = await addVideoInPlaylist(params) | 346 | const res = await addVideoInPlaylist(params) |
347 | playlistElementId = res.body.videoPlaylistElement.id | 347 | playlistElementId = res.body.videoPlaylistElement.id |
348 | }) | 348 | }) |
349 | |||
350 | it('Should fail if the video was already added in the playlist', async function () { | ||
351 | const params = getBase({}, { expectedStatus: 409 }) | ||
352 | await addVideoInPlaylist(params) | ||
353 | }) | ||
354 | }) | 349 | }) |
355 | 350 | ||
356 | describe('When updating an element in a playlist', function () { | 351 | describe('When updating an element in a playlist', function () { |