From 18cec9440a6b044c2c9327c28ccc4749cbca502b Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 25 Apr 2024 16:34:21 +0000 Subject: [PATCH] test fixes --- tests/Models/EmployeeHistoryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Models/EmployeeHistoryTest.php b/tests/Models/EmployeeHistoryTest.php index 754efd5..2ba6e26 100644 --- a/tests/Models/EmployeeHistoryTest.php +++ b/tests/Models/EmployeeHistoryTest.php @@ -38,7 +38,7 @@ final class EmployeeHistoryTest extends \PHPUnit\Framework\TestCase { self::assertEquals(0, $this->history->id); 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\NullUnit', $this->history->unit); self::assertInstanceOf('\Modules\Organization\Models\NullDepartment', $this->history->department);