mirror of
https://github.com/iptv-org/iptv
synced 2026-03-21 19:31:01 -04:00
Update tests/__data__
This commit is contained in:
1
tests/__data__/expected/playlist_update/bz.m3u
Normal file
1
tests/__data__/expected/playlist_update/bz.m3u
Normal file
@@ -0,0 +1 @@
|
|||||||
|
#EXTM3U
|
||||||
@@ -588,5 +588,13 @@
|
|||||||
"country": "CA",
|
"country": "CA",
|
||||||
"categories": [],
|
"categories": [],
|
||||||
"is_nsfw": false
|
"is_nsfw": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "Channel7.bz",
|
||||||
|
"name": "Channel 7",
|
||||||
|
"network": null,
|
||||||
|
"country": "BZ",
|
||||||
|
"categories": [],
|
||||||
|
"is_nsfw": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -2393,5 +2393,84 @@ module.exports = [
|
|||||||
timeline_url: 'https://api.github.com/repos/iptv-org/iptv/issues/25157/timeline',
|
timeline_url: 'https://api.github.com/repos/iptv-org/iptv/issues/25157/timeline',
|
||||||
performed_via_github_app: null,
|
performed_via_github_app: null,
|
||||||
state_reason: null
|
state_reason: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
url: 'https://api.github.com/repos/iptv-org/iptv/issues/15175',
|
||||||
|
repository_url: 'https://api.github.com/repos/iptv-org/iptv',
|
||||||
|
labels_url: 'https://api.github.com/repos/iptv-org/iptv/issues/15175/labels{/name}',
|
||||||
|
comments_url: 'https://api.github.com/repos/iptv-org/iptv/issues/15175/comments',
|
||||||
|
events_url: 'https://api.github.com/repos/iptv-org/iptv/issues/15175/events',
|
||||||
|
html_url: 'https://github.com/iptv-org/iptv/issues/15175',
|
||||||
|
id: 1884859888,
|
||||||
|
node_id: 'I_kwDOCWUK8M5wWK2C',
|
||||||
|
number: 15175,
|
||||||
|
title: 'Add: TFX',
|
||||||
|
user: {
|
||||||
|
login: 'freearhey',
|
||||||
|
id: 7253922,
|
||||||
|
node_id: 'MDQ6VXNlcjcyNTM5MjI=',
|
||||||
|
avatar_url: 'https://avatars.githubusercontent.com/u/7253922?v=4',
|
||||||
|
gravatar_id: '',
|
||||||
|
url: 'https://api.github.com/users/freearhey',
|
||||||
|
html_url: 'https://github.com/freearhey',
|
||||||
|
followers_url: 'https://api.github.com/users/freearhey/followers',
|
||||||
|
following_url: 'https://api.github.com/users/freearhey/following{/other_user}',
|
||||||
|
gists_url: 'https://api.github.com/users/freearhey/gists{/gist_id}',
|
||||||
|
starred_url: 'https://api.github.com/users/freearhey/starred{/owner}{/repo}',
|
||||||
|
subscriptions_url: 'https://api.github.com/users/freearhey/subscriptions',
|
||||||
|
organizations_url: 'https://api.github.com/users/freearhey/orgs',
|
||||||
|
repos_url: 'https://api.github.com/users/freearhey/repos',
|
||||||
|
events_url: 'https://api.github.com/users/freearhey/events{/privacy}',
|
||||||
|
received_events_url: 'https://api.github.com/users/freearhey/received_events',
|
||||||
|
type: 'User',
|
||||||
|
site_admin: false
|
||||||
|
},
|
||||||
|
labels: [
|
||||||
|
{
|
||||||
|
id: 5923498886,
|
||||||
|
node_id: 'LA_kwDOCWUK8M8AAAABYRFrhg',
|
||||||
|
url: 'https://api.github.com/repos/iptv-org/iptv/labels/approved',
|
||||||
|
name: 'approved',
|
||||||
|
color: '85ddde',
|
||||||
|
default: false,
|
||||||
|
description: ''
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 5923508587,
|
||||||
|
node_id: 'LA_kwDOCWUK8M8AAAABYRGRaw',
|
||||||
|
url: 'https://api.github.com/repos/iptv-org/iptv/labels/streams:add',
|
||||||
|
name: 'streams:add',
|
||||||
|
color: '017ff9',
|
||||||
|
default: false,
|
||||||
|
description: 'Request to add a new link to a playlist'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
state: 'open',
|
||||||
|
locked: false,
|
||||||
|
assignee: null,
|
||||||
|
assignees: [],
|
||||||
|
milestone: null,
|
||||||
|
comments: 1,
|
||||||
|
created_at: '2023-09-06T22:54:25Z',
|
||||||
|
updated_at: '2023-09-07T00:57:11Z',
|
||||||
|
closed_at: null,
|
||||||
|
author_association: 'COLLABORATOR',
|
||||||
|
active_lock_reason: null,
|
||||||
|
body: '### Stream ID\n\nChannel7.bz@SD\n\n### Stream URL\n\nnew: https://streamer2.nexgen.bz/07-CHANNEL7/index.m3u8\n\n### Label\n\nNone\n\n### HTTP User Agent\n\n_No response_\n\n### HTTP Referrer\n\n_No response_\n\n### Notes (optional)\n\n_No response_\n\n### Contributing Guide\n\n- [X] I have read [Contributing Guide](https://github.com/iptv-org/iptv/blob/master/CONTRIBUTING.md)',
|
||||||
|
reactions: {
|
||||||
|
url: 'https://api.github.com/repos/iptv-org/iptv/issues/15175/reactions',
|
||||||
|
total_count: 0,
|
||||||
|
'+1': 0,
|
||||||
|
'-1': 0,
|
||||||
|
laugh: 0,
|
||||||
|
hooray: 0,
|
||||||
|
confused: 0,
|
||||||
|
heart: 0,
|
||||||
|
rocket: 0,
|
||||||
|
eyes: 0
|
||||||
|
},
|
||||||
|
timeline_url: 'https://api.github.com/repos/iptv-org/iptv/issues/15175/timeline',
|
||||||
|
performed_via_github_app: null,
|
||||||
|
state_reason: null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
1
tests/__data__/input/playlist_update/bz.m3u
Normal file
1
tests/__data__/input/playlist_update/bz.m3u
Normal file
@@ -0,0 +1 @@
|
|||||||
|
#EXTM3U
|
||||||
3
tests/__data__/input/playlist_validate/invalid_url.m3u
Normal file
3
tests/__data__/input/playlist_validate/invalid_url.m3u
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#EXTM3U
|
||||||
|
#EXTINF:-1 tvg-id="Channel7.bz@SD",Channel 7
|
||||||
|
new: https://streamer2.nexgen.bz/07-CHANNEL7/index.m3u8
|
||||||
Reference in New Issue
Block a user