mirror of
https://github.com/Karaka-Management/oms-ContractManagement.git
synced 2026-02-15 18:08:41 +00:00
fix jsonSerialize function call
This commit is contained in:
parent
cfdf566f2b
commit
3674f56c66
|
|
@ -47,6 +47,6 @@ final class NullContractTest extends \PHPUnit\Framework\TestCase
|
||||||
public function testJsonSerialize() : void
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullContract(2);
|
$null = new NullContract(2);
|
||||||
self::assertEquals(['id' => 2], $null);
|
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user