Skip to content

Commit

Permalink
use assertEquals instead of assertTrue on line 84
Browse files Browse the repository at this point in the history
  • Loading branch information
creme332 committed Jun 6, 2024
1 parent 091e5c1 commit 30440a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/models/AdministratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30440a2

Please sign in to comment.