mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-01-11 12:28:39 +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
|
||||
{
|
||||
$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
|
||||
{
|
||||
$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
|
||||
{
|
||||
$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
|
||||
{
|
||||
$null = new NullEmployeeWorkHistory(2);
|
||||
self::assertEquals(['id' => 2], $null);
|
||||
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user