mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-02-13 03:18:41 +00:00
fix jsonSerialize function call
This commit is contained in:
parent
0973c9f287
commit
b6500ccbc9
|
|
@ -47,6 +47,6 @@ final class NullEmployeeEducationHistoryTest extends \PHPUnit\Framework\TestCase
|
||||||
public function testJsonSerialize() : void
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullEmployeeEducationHistory(2);
|
$null = new NullEmployeeEducationHistory(2);
|
||||||
self::assertEquals(['id' => 2], $null);
|
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,6 @@ final class NullEmployeeHistoryTest extends \PHPUnit\Framework\TestCase
|
||||||
public function testJsonSerialize() : void
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullEmployeeHistory(2);
|
$null = new NullEmployeeHistory(2);
|
||||||
self::assertEquals(['id' => 2], $null);
|
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,6 @@ final class NullEmployeeTest extends \PHPUnit\Framework\TestCase
|
||||||
public function testJsonSerialize() : void
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullEmployee(2);
|
$null = new NullEmployee(2);
|
||||||
self::assertEquals(['id' => 2], $null);
|
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,6 @@ final class NullEmployeeWorkHistoryTest extends \PHPUnit\Framework\TestCase
|
||||||
public function testJsonSerialize() : void
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullEmployeeWorkHistory(2);
|
$null = new NullEmployeeWorkHistory(2);
|
||||||
self::assertEquals(['id' => 2], $null);
|
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user