Skip to content

Commit

Permalink
fix(tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
h4kuna committed Dec 30, 2024
1 parent c7112ba commit ed4f0e5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bin/fix-test
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env php
<?php declare(strict_types=1);

$file = __DIR__ . '/../tests/fixtures/databox/00007064.json';
unlink($file);

chdir(__DIR__ . '/..');
exec('composer tests');
exec(sprintf('git add "%s"', $file));
exec('git commit -m "fix(tests)"');
17 changes: 17 additions & 0 deletions tests/fixtures/databox/00007064.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,23 @@
"CisloOrientacni": "3"
}
},
{
"Ico": "00007064",
"NazevOsoby": "Elektronický podací portál MV (Ministerstvo vnitra)",
"ISDS": "5f3u78d",
"PDZ": "false",
"TypSubjektu": "OVM_REQ",
"AdresaSidla": {
"AdresaTextem": "Nad štolou 936/3, Holešovice, 17000, Praha 7",
"OkresNazev": {},
"ObecNazev": "Praha 7",
"CastObceNazev": "Holešovice",
"UliceNazev": "Nad štolou",
"PostaKod": "17000",
"CisloDomovni": "936",
"CisloOrientacni": "3"
}
},
{
"Ico": "00007064",
"NazevOsoby": "Ministerstvo vnitra",
Expand Down

0 comments on commit ed4f0e5

Please sign in to comment.