fix jsonSerialize function call

This commit is contained in:
Dennis Eichhorn 2023-10-17 00:13:58 +00:00
parent 128c8e4d6d
commit 6e708ecf9c
2 changed files with 2 additions and 2 deletions

View File

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

View File

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