mirror of
https://github.com/Karaka-Management/oms-HumanResourceTimeRecording.git
synced 2026-01-24 01:38:41 +00:00
fix jsonSerialize function call
This commit is contained in:
parent
2fa7dfd15f
commit
eab254a567
|
|
@ -47,6 +47,6 @@ final class NullSessionElementTest extends \PHPUnit\Framework\TestCase
|
|||
public function testJsonSerialize() : void
|
||||
{
|
||||
$null = new NullSessionElement(2);
|
||||
self::assertEquals(['id' => 2], $null);
|
||||
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,6 +47,6 @@ final class NullSessionTest extends \PHPUnit\Framework\TestCase
|
|||
public function testJsonSerialize() : void
|
||||
{
|
||||
$null = new NullSession(2);
|
||||
self::assertEquals(['id' => 2], $null);
|
||||
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user