Commit cc1247f3 by Carsten Brandt

fixed HHVM test break

parent 89921e0b
...@@ -188,7 +188,7 @@ class CommandTest extends DatabaseTestCase ...@@ -188,7 +188,7 @@ class CommandTest extends DatabaseTestCase
$this->assertEquals($blobCol, stream_get_contents($row['blob_col'])); $this->assertEquals($blobCol, stream_get_contents($row['blob_col']));
} }
$this->assertEquals($numericCol, $row['numeric_col']); $this->assertEquals($numericCol, $row['numeric_col']);
if ($this->driverName === 'mysql') { if ($this->driverName === 'mysql' || defined('HHVM_VERSION') && $this->driverName === 'sqlite') {
$this->assertEquals($boolCol, (int)$row['bool_col']); $this->assertEquals($boolCol, (int)$row['bool_col']);
} else { } else {
$this->assertEquals($boolCol, $row['bool_col']); $this->assertEquals($boolCol, $row['bool_col']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment