+ it('Should filter by UUIDs', async function () {
+ for (const uuid of [ playlistUUID, playlistShortUUID ]) {
+ const body = await command.advancedPlaylistSearch({ search: { uuids: [ uuid ] } })
+
+ expect(body.total).to.equal(1)
+ expect(body.data[0].displayName).to.equal('Dr. Kenzo Tenma hospital videos')
+ }
+
+ {
+ const body = await command.advancedPlaylistSearch({ search: { uuids: [ 'dfd70b83-639f-4980-94af-304a56ab4b35' ] } })
+
+ expect(body.total).to.equal(0)
+ expect(body.data).to.have.lengthOf(0)
+ }
+ })
+