Skip to content

Commit

Permalink
Changelog update
Browse files Browse the repository at this point in the history
  • Loading branch information
evil1 committed Jan 4, 2025
1 parent 1e281ab commit 2514ee0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/Common/CommonSchemaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -405,15 +405,16 @@ public function testGetTableNames(array $pdoAttributes): void
$db->close();
}

/**
* @dataProvider \Yiisoft\Db\Tests\Provider\SchemaProvider::pdoAttributes
*
* @throws NotSupportedException
*/
public function testHasTable(array $pdoAttributes): void
{
$db = $this->getConnection(true);

foreach ($pdoAttributes as $name => $value) {
if ($name === PDO::ATTR_EMULATE_PREPARES) {
continue;
}

$db->getPDO()?->setAttribute($name, $value);
}

Expand Down

0 comments on commit 2514ee0

Please sign in to comment.