Skip to content

Commit

Permalink
Correct behaviour to match PHP 8.4 PDO calls
Browse files Browse the repository at this point in the history
  • Loading branch information
srjlewis committed Nov 22, 2024
1 parent 70c4cfc commit 411f2db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/ExtendedConnectPdoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ protected function newPdo()

public function testPdoType()
{
$this->assertInstanceOf(Pdo\Sqlite::class, $this->pdo);
$this->assertInstanceOf(Pdo\Sqlite::class, $this->pdo->getPdo());
}
}
2 changes: 1 addition & 1 deletion tests/ExtendedPdoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected function insert(array $data)

public function testPdoType()
{
$this->assertNotInstanceOf(Pdo\Sqlite::class, $this->pdo);
$this->assertNotInstanceOf(Pdo\Sqlite::class, $this->pdo->getPdo());
}

public function testCall()
Expand Down

0 comments on commit 411f2db

Please sign in to comment.