mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Skip test for versions of < MySQL5.6.
This commit is contained in:
parent
d8a55ad065
commit
e7d6319d59
1 changed files with 3 additions and 0 deletions
|
@ -933,6 +933,9 @@ SQL;
|
|||
* @return void
|
||||
*/
|
||||
public function testDescribeHandleCurrentTimestampDatetime() {
|
||||
$mysqlVersion = $this->Dbo->query('SELECT VERSION() as version', array('log' => false));
|
||||
$this->skipIf(version_compare($mysqlVersion[0][0]['version'], '5.6.0', '<'));
|
||||
|
||||
$name = $this->Dbo->fullTableName('timestamp_default_values');
|
||||
$sql = <<<SQL
|
||||
CREATE TABLE $name (
|
||||
|
|
Loading…
Reference in a new issue