fix jsonSerialize function call

This commit is contained in:
Dennis Eichhorn 2023-10-17 00:13:58 +00:00
parent 3e927aff4e
commit 9c31042c1a

View File

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