mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-19 07:07:58 +08:00
Fixed tests.
This commit is contained in:
@@ -774,6 +774,7 @@ abstract class SchemaTest extends DatabaseTestCase
|
||||
}
|
||||
|
||||
if (
|
||||
$this->driverName === 'mysql' &&
|
||||
version_compare($this->getConnection(false)->getServerVersion(), '8.0.16', '<') &&
|
||||
$type === 'checks'
|
||||
) {
|
||||
@@ -797,6 +798,7 @@ abstract class SchemaTest extends DatabaseTestCase
|
||||
}
|
||||
|
||||
if (
|
||||
$this->driverName === 'mysql' &&
|
||||
version_compare($this->getConnection(false)->getServerVersion(), '8.0.16', '<') &&
|
||||
$type === 'checks'
|
||||
) {
|
||||
@@ -822,6 +824,7 @@ abstract class SchemaTest extends DatabaseTestCase
|
||||
}
|
||||
|
||||
if (
|
||||
$this->driverName === 'mysql' &&
|
||||
version_compare($this->getConnection(false)->getServerVersion(), '8.0.16', '<') &&
|
||||
$type === 'checks'
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user