Skip to content

Commit

Permalink
fixed HHVM test break
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe committed Aug 15, 2014
1 parent 89921e0 commit cc1247f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/framework/db/CommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public function testBindParamValue()
$this->assertEquals($blobCol, stream_get_contents($row['blob_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']);
} else {
$this->assertEquals($boolCol, $row['bool_col']);
Expand Down

0 comments on commit cc1247f

Please sign in to comment.