Update tests/__data__

This commit is contained in:
freearhey 2023-06-30 14:41:15 +03:00
parent 1bd8e08f14
commit feddd9500b
4 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<site site="parse-channels.com">
<channels>
<channel lang="en" xmltv_id="" site_id="140">CNN International</channel>
<channel lang="en" xmltv_id="" site_id="240">BBC World News</channel>
</channels>
</site>

View file

@ -2,5 +2,6 @@
<site site="parse-channels.com"> <site site="parse-channels.com">
<channels> <channels>
<channel lang="en" xmltv_id="CNNInternational.us" site_id="140">CNN International</channel> <channel lang="en" xmltv_id="CNNInternational.us" site_id="140">CNN International</channel>
<channel lang="en" xmltv_id="" site_id="240">BBC World News</channel>
</channels> </channels>
</site> </site>

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<site site="parse-channels.com">
<channels>
<channel lang="en" xmltv_id="CNNInternational.us" site_id="140">CNN International</channel>
</channels>
</site>

View file

@ -10,9 +10,13 @@ module.exports = {
return [ return [
{ {
lang: 'en', lang: 'en',
xmltv_id: 'CNNInternational.us',
site_id: 140, site_id: 140,
name: 'CNN International' name: 'CNN International'
},
{
lang: 'en',
site_id: 240,
name: 'BBC World News'
} }
] ]
} }