+ it('Should run filter:api.video-playlist.videos.list.params', async function () {
+ const { data } = await servers[0].playlists.listVideos({
+ count: 2,
+ playlistId: videoPlaylistUUID
+ })
+
+ // 1 plugin do +1 to the count parameter
+ expect(data).to.have.lengthOf(3)
+ })
+
+ it('Should run filter:api.video-playlist.videos.list.result', async function () {
+ const { total } = await servers[0].playlists.listVideos({
+ count: 0,
+ playlistId: videoPlaylistUUID
+ })
+
+ // Plugin do +1 to the total result
+ expect(total).to.equal(11)
+ })
+