Skip to content

Commit 242a4d1

Browse files
committed
change assertTrue to assertInstanceOf
1 parent f81eae1 commit 242a4d1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/system/Database/Live/SQLSRV/IncrementTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function testIncrementWhenCastTextToIntFalse(): void
4343
{
4444
$this->hasInDatabase('job', ['name' => 'incremental', 'created_at' => 6]);
4545

46-
$this->assertTrue($this->db->table('job') instanceof Builder);
46+
$this->assertInstanceOf(Builder::class, $this->db->table('job'));
4747

4848
$this->db->table('job')->castTextToInt = false;
4949

@@ -58,7 +58,7 @@ public function testDecrementWhenCastTextToIntFalse(): void
5858
{
5959
$this->hasInDatabase('job', ['name' => 'decremental', 'created_at' => 6]);
6060

61-
$this->assertTrue($this->db->table('job') instanceof Builder);
61+
$this->assertInstanceOf(Builder::class, $this->db->table('job'));
6262

6363
$this->db->table('job')->castTextToInt = false;
6464

0 commit comments

Comments
 (0)