fix jsonSerialize function call

This commit is contained in:
Dennis Eichhorn 2023-10-17 00:13:58 +00:00
parent 491f3902fc
commit 67a09e648a
2 changed files with 2 additions and 2 deletions

View File

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

View File

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