- await checkParamEmbed(server, embedUrl, 200, query)
+ await checkParamEmbed(server, embedUrl, HttpStatusCode.OK_200, query)
+ })
+
+ it('Should succeed with the correct params with a playlist', async function () {
+ const embedUrl = `http://localhost:${server.port}/videos/watch/playlist/${playlistUUID}`
+ const query = {
+ format: 'json',
+ maxheight: 400,
+ maxwidth: 400
+ }
+
+ await checkParamEmbed(server, embedUrl, HttpStatusCode.OK_200, query)