Skip to content

Commit 54a02ce

Browse files
committed
[2323] fix check for mysql 8
1 parent 4df4807 commit 54a02ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Phinx/Db/Adapter/MysqlAdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2842,7 +2842,7 @@ public function testChangeColumnWithAlgorithm(): void
28422842
{
28432843
$this->adapter->connect();
28442844

2845-
if (version_compare($this->adapter->getAttribute(PDO::ATTR_SERVER_VERSION), '8.0.0') === -1) {
2845+
if (!$this->usingMysql8()) {
28462846
$this->markTestSkipped('Cannot test inplace algorithm on mysql versions less than 8');
28472847
}
28482848

0 commit comments

Comments
 (0)