mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-02-13 11:28:41 +00:00
test fixes
This commit is contained in:
parent
9dae632c56
commit
18cec9440a
|
|
@ -38,7 +38,7 @@ final class EmployeeHistoryTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
self::assertEquals(0, $this->history->id);
|
self::assertEquals(0, $this->history->id);
|
||||||
self::assertNull($this->history->end);
|
self::assertNull($this->history->end);
|
||||||
self::assertEquals(0, $this->history->employee);
|
self::assertInstanceOf('\Modules\HumanResourceManagement\Models\Employee', $this->history->employee);
|
||||||
self::assertInstanceOf('\Modules\Organization\Models\NullPosition', $this->history->position);
|
self::assertInstanceOf('\Modules\Organization\Models\NullPosition', $this->history->position);
|
||||||
self::assertInstanceOf('\Modules\Organization\Models\NullUnit', $this->history->unit);
|
self::assertInstanceOf('\Modules\Organization\Models\NullUnit', $this->history->unit);
|
||||||
self::assertInstanceOf('\Modules\Organization\Models\NullDepartment', $this->history->department);
|
self::assertInstanceOf('\Modules\Organization\Models\NullDepartment', $this->history->department);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user