mirror of
https://github.com/iptv-org/epg
synced 2025-12-18 03:16:53 -05:00
Update tests/__data__
This commit is contained in:
@@ -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>
|
||||||
@@ -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>
|
||||||
|
|||||||
6
tests/__data__/input/sites/parse-channels.channels.xml
Normal file
6
tests/__data__/input/sites/parse-channels.channels.xml
Normal 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>
|
||||||
@@ -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'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user