Skip to content

Commit

Permalink
Fixed tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed May 18, 2024
1 parent 2d2e141 commit 2ead4f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/framework/db/SchemaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -774,6 +774,7 @@ public function testTableSchemaConstraints($tableName, $type, $expected)
}

if (
$this->driverName === 'mysql' &&
version_compare($this->getConnection(false)->getServerVersion(), '8.0.16', '<') &&
$type === 'checks'
) {
Expand All @@ -797,6 +798,7 @@ public function testTableSchemaConstraintsWithPdoUppercase($tableName, $type, $e
}

if (
$this->driverName === 'mysql' &&
version_compare($this->getConnection(false)->getServerVersion(), '8.0.16', '<') &&
$type === 'checks'
) {
Expand All @@ -822,6 +824,7 @@ public function testTableSchemaConstraintsWithPdoLowercase($tableName, $type, $e
}

if (
$this->driverName === 'mysql' &&
version_compare($this->getConnection(false)->getServerVersion(), '8.0.16', '<') &&
$type === 'checks'
) {
Expand Down

0 comments on commit 2ead4f3

Please sign in to comment.