ActivityPub-federated video streaming platform using P2P directly in your web browser
Add unlisted playlists tests
Chocobozzzc16b2565588d
diff --git a/packages/tests/src/api/videos/channel-collaborators.ts b/packages/tests/src/api/videos/channel-collaborators.tsindex 5396bd88c0..04900fa21f 100644--- a/packages/tests/src/api/videos/channel-collaborators.ts+++ b/packages/tests/src/api/videos/channel-collaborators.ts@@ -369,10 +369,15 @@ describe('Test channel collaborators', function () {})it('Should list playlists from collab channels', async function () {- for (const displayName of [ 'playlist1', 'playlist2' ]) {+ const toCreate = [+ { displayName: 'playlist1', privacy: VideoPrivacy.PUBLIC },+ { displayName: 'playlist2', privacy: VideoPrivacy.UNLISTED }+ ]++ for (const { displayName, privacy } of toCreate) {const playlist = await servers[0].playlists.create({token: collaborator1,- attributes: { displayName, privacy: VideoPrivacy.PUBLIC, videoChannelId: channelCollabId }+ attributes: { displayName, privacy, videoChannelId: channelCollabId }})playlistId = playlist.uuid}