Skip to content

Commit

Permalink
fix(tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
h4kuna committed Sep 30, 2024
1 parent 43da8ea commit 1ede8ac
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion src/Adis/ContentProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function statusBusinessSubject(string $tin): Subject
*/
public function statusBusinessSubjects(array $tin): Generator
{
$duplicity = Batch::checkDuplicities($tin, fn (string $tin) => Helper::normalizeTIN($tin));
$duplicity = Batch::checkDuplicities($tin, static fn (string $tin) => Helper::normalizeTIN($tin));
$chunks = Batch::chunk($duplicity, 100);

foreach ($chunks as $chunk) {
Expand Down
68 changes: 34 additions & 34 deletions tests/fixtures/databox/00007064.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,40 +33,6 @@
"CisloOrientacni": "3"
}
},
{
"Ico": "00007064",
"NazevOsoby": "Komunikace mezi EKIS MV a ISoSS (Ministerstvo vnitra)",
"ISDS": "t88358j",
"PDZ": "false",
"TypSubjektu": "OVM_REQ",
"AdresaSidla": {
"AdresaTextem": "Na Pankráci 1623/72, 14000, Praha",
"OkresNazev": {},
"ObecNazev": "Praha",
"CastObceNazev": {},
"UliceNazev": "Na Pankráci",
"PostaKod": "14000",
"CisloDomovni": "1623",
"CisloOrientacni": "72"
}
},
{
"Ico": "00007064",
"NazevOsoby": "Odbor provozu a rozvoje EKIS (Ministerstvo vnitra)",
"ISDS": "v522hjw",
"PDZ": "false",
"TypSubjektu": "OVM_REQ",
"AdresaSidla": {
"AdresaTextem": "Na Pankráci 1623/72, Nusle, 14000, Praha 4",
"OkresNazev": {},
"ObecNazev": "Praha 4",
"CastObceNazev": "Nusle",
"UliceNazev": "Na Pankráci",
"PostaKod": "14000",
"CisloDomovni": "1623",
"CisloOrientacni": "72"
}
},
{
"Ico": "00007064",
"NazevOsoby": "sekce pro státní službu (Ministerstvo vnitra)",
Expand Down Expand Up @@ -101,6 +67,40 @@
"CisloOrientacni": "3"
}
},
{
"Ico": "00007064",
"NazevOsoby": "Komunikace mezi EKIS MV a ISoSS (Ministerstvo vnitra)",
"ISDS": "t88358j",
"PDZ": "false",
"TypSubjektu": "OVM_REQ",
"AdresaSidla": {
"AdresaTextem": "Na Pankráci 1623/72, 14000, Praha",
"OkresNazev": {},
"ObecNazev": "Praha",
"CastObceNazev": {},
"UliceNazev": "Na Pankráci",
"PostaKod": "14000",
"CisloDomovni": "1623",
"CisloOrientacni": "72"
}
},
{
"Ico": "00007064",
"NazevOsoby": "Odbor provozu a rozvoje EKIS (Ministerstvo vnitra)",
"ISDS": "v522hjw",
"PDZ": "false",
"TypSubjektu": "OVM_REQ",
"AdresaSidla": {
"AdresaTextem": "Na Pankráci 1623/72, Nusle, 14000, Praha 4",
"OkresNazev": {},
"ObecNazev": "Praha 4",
"CastObceNazev": "Nusle",
"UliceNazev": "Na Pankráci",
"PostaKod": "14000",
"CisloDomovni": "1623",
"CisloOrientacni": "72"
}
},
{
"Ico": "00007064",
"NazevOsoby": "P.O.BOX 69, Praha 4 (Ministerstvo vnitra)",
Expand Down

0 comments on commit 1ede8ac

Please sign in to comment.