mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update tests/__data__
This commit is contained in:
parent
1bd8e08f14
commit
feddd9500b
4 changed files with 19 additions and 1 deletions
|
@ -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">
|
||||
<channels>
|
||||
<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>
|
||||
</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 [
|
||||
{
|
||||
lang: 'en',
|
||||
xmltv_id: 'CNNInternational.us',
|
||||
site_id: 140,
|
||||
name: 'CNN International'
|
||||
},
|
||||
{
|
||||
lang: 'en',
|
||||
site_id: 240,
|
||||
name: 'BBC World News'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue