Skip to content
Permalink
Browse files

Skip test for versions of < MySQL5.6.

  • Loading branch information...
dereuromark committed Sep 17, 2015
1 parent d8a55ad commit e7d6319d598b6bef305d0ed2a4a706903e95e8fc
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
@@ -933,6 +933,9 @@ public function testDescribeHandleCurrentTimestamp() {
* @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 (

0 comments on commit e7d6319

Please sign in to comment.
You can’t perform that action at this time.