Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/InterimNumberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class InterimNumberTest extends TestCase
private static function init(): void
{
if (self::$interim === null) {
$data = json_decode(file_get_contents('https://raw.githubusercontent.com/personnummer/meta/master/testdata/interim.json'), true, 512, JSON_THROW_ON_ERROR); // phpcs:ignore
$data = json_decode(file_get_contents('https://raw.githubusercontent.com/personnummer/meta/HEAD/testdata/interim.json'), true, 512, JSON_THROW_ON_ERROR); // phpcs:ignore
self::$interim = array_map(
static fn(array $p) => new PersonnummerData($p),
$data,
Expand Down
4 changes: 2 additions & 2 deletions tests/PersonnummerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class PersonnummerTest extends TestCase

public static function setUpBeforeClass(): void
{
self::$testdataList = json_decode(file_get_contents('https://raw.githubusercontent.com/personnummer/meta/master/testdata/list.json'), true, 512, JSON_THROW_ON_ERROR); // phpcs:ignore
self::$testdataStructured = json_decode(file_get_contents('https://raw.githubusercontent.com/personnummer/meta/master/testdata/structured.json'), true, 512, JSON_THROW_ON_ERROR); // phpcs:ignore
self::$testdataList = json_decode(file_get_contents('https://raw.githubusercontent.com/personnummer/meta/HEAD/testdata/list.json'), true, 512, JSON_THROW_ON_ERROR); // phpcs:ignore
self::$testdataStructured = json_decode(file_get_contents('https://raw.githubusercontent.com/personnummer/meta/HEAD/testdata/structured.json'), true, 512, JSON_THROW_ON_ERROR); // phpcs:ignore
}

public function testParse(): void
Expand Down