diff --git a/tests/__data__/expected/sites/parse-channels-clean.channels.xml b/tests/__data__/expected/sites/parse-channels-clean.channels.xml new file mode 100644 index 00000000..2b8e092f --- /dev/null +++ b/tests/__data__/expected/sites/parse-channels-clean.channels.xml @@ -0,0 +1,7 @@ + + + + CNN International + BBC World News + + diff --git a/tests/__data__/expected/sites/parse-channels.channels.xml b/tests/__data__/expected/sites/parse-channels.channels.xml index 82cbe2a7..33163fe9 100644 --- a/tests/__data__/expected/sites/parse-channels.channels.xml +++ b/tests/__data__/expected/sites/parse-channels.channels.xml @@ -2,5 +2,6 @@ CNN International + BBC World News diff --git a/tests/__data__/input/sites/parse-channels.channels.xml b/tests/__data__/input/sites/parse-channels.channels.xml new file mode 100644 index 00000000..29f16d4b --- /dev/null +++ b/tests/__data__/input/sites/parse-channels.channels.xml @@ -0,0 +1,6 @@ + + + + CNN International + + diff --git a/tests/__data__/input/sites/parse-channels.config.js b/tests/__data__/input/sites/parse-channels.config.js index 9db10dc2..e79ffa4e 100644 --- a/tests/__data__/input/sites/parse-channels.config.js +++ b/tests/__data__/input/sites/parse-channels.config.js @@ -10,9 +10,13 @@ module.exports = { return [ { lang: 'en', - xmltv_id: 'CNNInternational.us', site_id: 140, name: 'CNN International' + }, + { + lang: 'en', + site_id: 240, + name: 'BBC World News' } ] }