fix jsonSerialize function call

This commit is contained in:
Dennis Eichhorn 2023-10-17 00:13:58 +00:00
parent 0973c9f287
commit b6500ccbc9
4 changed files with 4 additions and 4 deletions

View File

@ -47,6 +47,6 @@ final class NullEmployeeEducationHistoryTest extends \PHPUnit\Framework\TestCase
public function testJsonSerialize() : void
{
$null = new NullEmployeeEducationHistory(2);
self::assertEquals(['id' => 2], $null);
self::assertEquals(['id' => 2], $null->jsonSerialize());
}
}

View File

@ -47,6 +47,6 @@ final class NullEmployeeHistoryTest extends \PHPUnit\Framework\TestCase
public function testJsonSerialize() : void
{
$null = new NullEmployeeHistory(2);
self::assertEquals(['id' => 2], $null);
self::assertEquals(['id' => 2], $null->jsonSerialize());
}
}

View File

@ -47,6 +47,6 @@ final class NullEmployeeTest extends \PHPUnit\Framework\TestCase
public function testJsonSerialize() : void
{
$null = new NullEmployee(2);
self::assertEquals(['id' => 2], $null);
self::assertEquals(['id' => 2], $null->jsonSerialize());
}
}

View File

@ -47,6 +47,6 @@ final class NullEmployeeWorkHistoryTest extends \PHPUnit\Framework\TestCase
public function testJsonSerialize() : void
{
$null = new NullEmployeeWorkHistory(2);
self::assertEquals(['id' => 2], $null);
self::assertEquals(['id' => 2], $null->jsonSerialize());
}
}