diff --git a/tests/models/AdministratorTest.php b/tests/models/AdministratorTest.php index 1a4b6f6..7f1fcea 100644 --- a/tests/models/AdministratorTest.php +++ b/tests/models/AdministratorTest.php @@ -81,7 +81,7 @@ public function testToArray(): void self::assertEquals("prince", $result['last_name']); self::assertEquals("13213431", $result['phone_no']); self::assertEquals("Manager", $result['job_title']); - self::assertTrue($result['is_super_admin'] == 0); + self::assertEquals(0, $result['is_super_admin']); } public function testValidate(): void