From 02ea13a5163299bf23939e313ee7424b88ab1c2e Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Mon, 10 Jan 2022 15:19:20 +0300 Subject: [PATCH] wip --- tests/__data__/input/database/channels.db | 2 +- tests/commands/load-cluster.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/__data__/input/database/channels.db b/tests/__data__/input/database/channels.db index eeca6118..46289478 100644 --- a/tests/__data__/input/database/channels.db +++ b/tests/__data__/input/database/channels.db @@ -1,2 +1,2 @@ -{"lang":"en","xmltv_id":"CNNInternationalEurope.us","site_id":"13517260-207c-4049-928f-fe4776d3d4f5#CNH","logo":"https://rndcdn.dstv.com/dstvcms/2016/07/26/DStv_CNN_new4-4logo_xlrg.png","name":"CNN International Europe","site":"dstv.com","channelsPath":"sites/dstv.com/dstv.com_cd.channels.xml","configPath":"sites/dstv.com/dstv.com.config.js","cluster_id":1,"_id":"818k7CfLgEBEAYGo"} +{"lang":"fr","xmltv_id":"CNNInternationalEurope.us","site_id":"53","logo":"https://proxymedia.woopic.com/api/v1/images/553%2Flogos%2Fv2%2Flogos%2Flivetv_cnn%2F20151026_092415%2FwebTVLogo%2Flogo_180x96.png","name":"CNN International Europe","site":"chaines-tv.orange.fr","channelsPath":"sites/chaines-tv.orange.fr/chaines-tv.orange.fr_fr.channels.xml","configPath":"sites/chaines-tv.orange.fr/chaines-tv.orange.fr.config.js","cluster_id":1,"_id":"0Wefq0oMR3feCcuY"} {"lang":"ru","xmltv_id":"CNNInternationalEurope.us","site_id":"140","logo":"https://www.magticom.ge/images/channels/MjAxOC8wOS8xMC9lZmJhNWU5Yy0yMmNiLTRkMTAtOWY5Ny01ODM0MzY0ZTg0MmEuanBn.jpg","name":"CNN International Europe","site":"magticom.ge","channelsPath":"sites/magticom.ge/magticom.ge_ge.channels.xml","configPath":"sites/magticom.ge/magticom.ge.config.js","cluster_id":1,"_id":"1XzrxNkSF2AQNBrT"} diff --git a/tests/commands/load-cluster.test.js b/tests/commands/load-cluster.test.js index 0d449663..00b1cb32 100644 --- a/tests/commands/load-cluster.test.js +++ b/tests/commands/load-cluster.test.js @@ -31,5 +31,5 @@ it('can load cluster', () => { const lines = output.split('\n') const parsed = JSON.parse(lines[0]) - expect(parsed._id).toBe('1XzrxNkSF2AQNBrT') + expect(parsed._id).toBe('0Wefq0oMR3feCcuY') })