Update example.com_ca-nl.channels.xml

This commit is contained in:
Aleksandr Statciuk 2022-01-25 18:26:27 +03:00
parent bca943f16a
commit 7fb8250025
2 changed files with 13 additions and 1 deletions

View file

@ -2,6 +2,6 @@
<site site="example.com"> <site site="example.com">
<channels> <channels>
<channel lang="ru" xmltv_id="CNNInternationalEurope.us" site_id="140">CNN International Europe</channel> <channel lang="ru" xmltv_id="CNNInternationalEurope.us" site_id="140">CNN International Europe</channel>
<channel lang="en" xmltv_id="CNNInternationalEurope2.us" site_id="140">CNN International Europe 2</channel> <channel lang="en" xmltv_id="CNNInternationalEurope2.us" site_id="141">CNN International Europe 2</channel>
</channels> </channels>
</site> </site>

View file

@ -27,6 +27,18 @@ it('can create channels database', () => {
configPath: 'tests/__data__/input/sites/example.com.config.js', configPath: 'tests/__data__/input/sites/example.com.config.js',
groups: ['ca-nl/example.com'], groups: ['ca-nl/example.com'],
cluster_id: 1 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
} }
]) ])
}) })