mirror of
https://github.com/Karaka-Management/oms-Workflow.git
synced 2026-01-10 14:28:40 +00:00
fix jsonSerialize function call
This commit is contained in:
parent
491f3902fc
commit
67a09e648a
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user