fix jsonSerialize function call

This commit is contained in:
Dennis Eichhorn 2023-10-17 00:13:58 +00:00
parent 1f1a1b1123
commit e16de1680a
2 changed files with 2 additions and 2 deletions

View File

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

View File

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