From 42426d6f71cacb0aeae7f9368da8c071fd15d0ec Mon Sep 17 00:00:00 2001
From: freearhey <7253922+freearhey@users.noreply.github.com>
Date: Sun, 3 May 2026 21:36:43 +0300
Subject: [PATCH] Update tests/__data__
---
.../epg_grab/{gzip.guide.xml => gzip/guide.xml} | 0
.../{gzip.guide.xml.gz => gzip/guide.xml.gz} | Bin
tests/__data__/expected/epg_grab/json/guide.json | 1 +
tests/__data__/expected/epg_grab/json/guide.xml | 8 ++++++++
tests/__data__/expected/guides_update/GUIDES.md | 4 ++--
tests/__data__/input/guides_update/worker.json | 6 +++++-
6 files changed, 16 insertions(+), 3 deletions(-)
rename tests/__data__/expected/epg_grab/{gzip.guide.xml => gzip/guide.xml} (100%)
rename tests/__data__/expected/epg_grab/{gzip.guide.xml.gz => gzip/guide.xml.gz} (100%)
create mode 100644 tests/__data__/expected/epg_grab/json/guide.json
create mode 100644 tests/__data__/expected/epg_grab/json/guide.xml
diff --git a/tests/__data__/expected/epg_grab/gzip.guide.xml b/tests/__data__/expected/epg_grab/gzip/guide.xml
similarity index 100%
rename from tests/__data__/expected/epg_grab/gzip.guide.xml
rename to tests/__data__/expected/epg_grab/gzip/guide.xml
diff --git a/tests/__data__/expected/epg_grab/gzip.guide.xml.gz b/tests/__data__/expected/epg_grab/gzip/guide.xml.gz
similarity index 100%
rename from tests/__data__/expected/epg_grab/gzip.guide.xml.gz
rename to tests/__data__/expected/epg_grab/gzip/guide.xml.gz
diff --git a/tests/__data__/expected/epg_grab/json/guide.json b/tests/__data__/expected/epg_grab/json/guide.json
new file mode 100644
index 000000000..3f632b054
--- /dev/null
+++ b/tests/__data__/expected/epg_grab/json/guide.json
@@ -0,0 +1 @@
+{"channels":[{"xmltv_id":"Channel3.us","name":"Channel 3","site":"example2.com","site_id":"150","lang":"en","logo":"https://upload.wikimedia.org/wikipedia/commons/6/64/6%27eren_2015.png","url":"https://example2.com","lcn":null,"index":0},{"xmltv_id":"Channel4.us@HD","name":"Channel 4","site":"example2.com","site_id":"152","lang":"en","logo":"https://i.imgur.com/BPzH88J.png","url":"https://example2.com","lcn":null,"index":1},{"xmltv_id":"Channel1.us","name":"Channel 1","site":"example2.com","site_id":"140","lang":"fr","logo":"https://i.imgur.com/GPzH88J.png","url":"https://example2.com","lcn":null,"index":2}],"programs":[{"site":"example2.com","start":1666240800000,"stop":1666249800000,"channel":"Channel1.us","titles":[{"value":"Programme1 (example2.com)","lang":"fr"}],"subTitles":[],"descriptions":[],"date":0,"categories":[],"keywords":[],"languages":[],"origLanguages":[],"length":[],"urls":[],"countries":[],"episodeNumbers":[],"video":{"present":"","colour":"","aspect":"","quality":""},"audio":{"present":"","stereo":""},"previouslyShown":[],"premiere":[],"lastChance":[],"new":false,"subtitles":[],"ratings":[],"starRatings":[],"reviews":[],"directors":[],"actors":[],"writers":[],"adapters":[],"producers":[],"composers":[],"editors":[],"presenters":[],"commentators":[],"guests":[],"images":[],"icons":[]},{"site":"example2.com","start":1666240260000,"stop":1666249800000,"channel":"Channel3.us","titles":[{"value":"Program1 (example2.com)","lang":"en"}],"subTitles":[],"descriptions":[],"date":0,"categories":[],"keywords":[],"languages":[],"origLanguages":[],"length":[],"urls":[],"countries":[],"episodeNumbers":[],"video":{"present":"","colour":"","aspect":"","quality":""},"audio":{"present":"","stereo":""},"previouslyShown":[],"premiere":[],"lastChance":[],"new":false,"subtitles":[],"ratings":[],"starRatings":[],"reviews":[],"directors":[],"actors":[],"writers":[],"adapters":[],"producers":[],"composers":[],"editors":[],"presenters":[],"commentators":[],"guests":[],"images":[],"icons":[]},{"site":"example2.com","start":1666240260000,"stop":1666249800000,"channel":"Channel4.us@HD","titles":[{"value":"Program1 (example2.com)","lang":"en"}],"subTitles":[],"descriptions":[],"date":0,"categories":[],"keywords":[],"languages":[],"origLanguages":[],"length":[],"urls":[],"countries":[],"episodeNumbers":[],"video":{"present":"","colour":"","aspect":"","quality":""},"audio":{"present":"","stereo":""},"previouslyShown":[],"premiere":[],"lastChance":[],"new":false,"subtitles":[],"ratings":[],"starRatings":[],"reviews":[],"directors":[],"actors":[],"writers":[],"adapters":[],"producers":[],"composers":[],"editors":[],"presenters":[],"commentators":[],"guests":[],"images":[],"icons":[]}]}
\ No newline at end of file
diff --git a/tests/__data__/expected/epg_grab/json/guide.xml b/tests/__data__/expected/epg_grab/json/guide.xml
new file mode 100644
index 000000000..67968c1bd
--- /dev/null
+++ b/tests/__data__/expected/epg_grab/json/guide.xml
@@ -0,0 +1,8 @@
+