fix tests

This commit is contained in:
Dennis Eichhorn 2024-04-25 03:26:52 +00:00
parent 66f12494b7
commit 0233863aa1

View File

@ -153,7 +153,7 @@ class EmployeeHistory implements \JsonSerializable
{ {
return [ return [
'id' => $this->id, 'id' => $this->id,
'employee' => \is_int($this->employee) ? $this->employee : $this->employee->id, 'employee' => $this->employee->id,
'unit' => $this->unit, 'unit' => $this->unit,
'department' => $this->department, 'department' => $this->department,
'position' => $this->position, 'position' => $this->position,