mirror of
https://github.com/Karaka-Management/oms-Workflow.git
synced 2026-02-13 20:58:39 +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
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullWorkflowInstanceAbstract(2);
|
$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
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullWorkflowTemplate(2);
|
$null = new NullWorkflowTemplate(2);
|
||||||
self::assertEquals(['id' => 2], $null);
|
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user