From 30440a278986ced16587fc3e979da2cab0b991df Mon Sep 17 00:00:00 2001 From: creme332 <65414576+creme332@users.noreply.github.com> Date: Thu, 6 Jun 2024 15:02:45 +0400 Subject: [PATCH] use assertEquals instead of assertTrue on line 84 --- tests/models/AdministratorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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