Skip to content

Commit

Permalink
Merge pull request #142 from yiisoft/adopt-last-change-db
Browse files Browse the repository at this point in the history
Adopt last change db.
  • Loading branch information
terabytesoftw committed Jul 26, 2022
2 parents 9a3c0a0 + 4e573f2 commit 1b9e8fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/DriverTest.php
Expand Up @@ -21,7 +21,7 @@ public function testConnectionCharset(): void
$this->assertEqualsIgnoringCase($this->charset, array_values($charset)[0]);

$newCharset = 'latin1';
$pdoDriver->charset($newCharset);
$pdoDriver->setCharset($newCharset);
$pdo = $pdoDriver->createConnection();
$charset = $pdo->query('SHOW client_encoding', PDO::FETCH_ASSOC)->fetch();
$this->assertEqualsIgnoringCase($newCharset, array_values($charset)[0]);
Expand Down

0 comments on commit 1b9e8fb

Please sign in to comment.