From 59062ed9bee562fbf37d973577bd83a8c2a37582 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Tue, 31 Dec 2024 06:08:08 +0300 Subject: [PATCH] Update tests/__data__ --- tests/__data__/input/validate/duplicate/blocklist.csv | 3 +++ tests/__data__/input/validate/duplicate/channels.csv | 2 ++ tests/__data__/input/validate/duplicate/countries.csv | 3 +++ tests/__data__/input/validate/duplicate/languages.csv | 3 +++ tests/__data__/input/validate/duplicate/subdivisions.csv | 2 ++ 5 files changed, 13 insertions(+) create mode 100644 tests/__data__/input/validate/duplicate/blocklist.csv create mode 100644 tests/__data__/input/validate/duplicate/channels.csv create mode 100644 tests/__data__/input/validate/duplicate/countries.csv create mode 100644 tests/__data__/input/validate/duplicate/languages.csv create mode 100644 tests/__data__/input/validate/duplicate/subdivisions.csv diff --git a/tests/__data__/input/validate/duplicate/blocklist.csv b/tests/__data__/input/validate/duplicate/blocklist.csv new file mode 100644 index 00000000..dcfba40d --- /dev/null +++ b/tests/__data__/input/validate/duplicate/blocklist.csv @@ -0,0 +1,3 @@ +channel,ref +002RadioTV.do,eee +002RadioTV.do,eee \ No newline at end of file diff --git a/tests/__data__/input/validate/duplicate/channels.csv b/tests/__data__/input/validate/duplicate/channels.csv new file mode 100644 index 00000000..22a83c3a --- /dev/null +++ b/tests/__data__/input/validate/duplicate/channels.csv @@ -0,0 +1,2 @@ +id,name,alt_names,network,owners,country,subdivision,city,broadcast_area,languages,categories,is_nsfw,launched,closed,replaced_by,website,logo +002RadioTV.do,002 Radio TV,,,,DO,,,c/DO,,,FALSE,,,,,https://i.imgur.com/7oNe8xj.png \ No newline at end of file diff --git a/tests/__data__/input/validate/duplicate/countries.csv b/tests/__data__/input/validate/duplicate/countries.csv new file mode 100644 index 00000000..8a1c05e5 --- /dev/null +++ b/tests/__data__/input/validate/duplicate/countries.csv @@ -0,0 +1,3 @@ +name,code,languages,flag +Andorra,AD,cat,🇦🇩 +Dominican Republic,DO,spa,🇩🇴 \ No newline at end of file diff --git a/tests/__data__/input/validate/duplicate/languages.csv b/tests/__data__/input/validate/duplicate/languages.csv new file mode 100644 index 00000000..7e3eb4b4 --- /dev/null +++ b/tests/__data__/input/validate/duplicate/languages.csv @@ -0,0 +1,3 @@ +code,name +cat,Catalan +spa,Spanish \ No newline at end of file diff --git a/tests/__data__/input/validate/duplicate/subdivisions.csv b/tests/__data__/input/validate/duplicate/subdivisions.csv new file mode 100644 index 00000000..9498b609 --- /dev/null +++ b/tests/__data__/input/validate/duplicate/subdivisions.csv @@ -0,0 +1,2 @@ +country,name,code +AD,Andorra la Vella,AD-07 \ No newline at end of file