diff --git a/tests/__data__/input/sites/example.com_ca-nl.channels.xml b/tests/__data__/input/sites/example.com_ca-nl.channels.xml index aa4b1ac9..c3f20f08 100644 --- a/tests/__data__/input/sites/example.com_ca-nl.channels.xml +++ b/tests/__data__/input/sites/example.com_ca-nl.channels.xml @@ -2,6 +2,6 @@ CNN International Europe - CNN International Europe 2 + CNN International Europe 2 \ No newline at end of file diff --git a/tests/commands/create-database.test.js b/tests/commands/create-database.test.js index 3b39e67a..7a0bbeb5 100644 --- a/tests/commands/create-database.test.js +++ b/tests/commands/create-database.test.js @@ -27,6 +27,18 @@ it('can create channels database', () => { configPath: 'tests/__data__/input/sites/example.com.config.js', groups: ['ca-nl/example.com'], cluster_id: 1 + }, + { + lang: 'en', + xmltv_id: 'CNNInternationalEurope2.us', + site_id: '141', + name: 'CNN International Europe 2', + site: 'example.com', + country: 'US', + channelsPath: 'tests/__data__/input/sites/example.com_ca-nl.channels.xml', + configPath: 'tests/__data__/input/sites/example.com.config.js', + groups: ['ca-nl/example.com'], + cluster_id: 1 } ]) })