mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-01-30 12:48:41 +00:00
fix tests
This commit is contained in:
parent
66f12494b7
commit
0233863aa1
|
|
@ -153,7 +153,7 @@ class EmployeeHistory implements \JsonSerializable
|
|||
{
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'employee' => \is_int($this->employee) ? $this->employee : $this->employee->id,
|
||||
'employee' => $this->employee->id,
|
||||
'unit' => $this->unit,
|
||||
'department' => $this->department,
|
||||
'position' => $this->position,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user