Commit d4738b03 by Carsten Brandt

fixed test break

parent 574f67fe
...@@ -186,7 +186,11 @@ class CommandTest extends DatabaseTestCase ...@@ -186,7 +186,11 @@ 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']);
$this->assertEquals($boolCol, $row['bool_col']); if ($this->driverName !== 'mysql') {
$this->assertEquals($boolCol, (int)$row['bool_col']);
} else {
$this->assertEquals($boolCol, $row['bool_col']);
}
// bindValue // bindValue
$sql = 'INSERT INTO customer(email, name, address) VALUES (:email, \'user5\', \'address5\')'; $sql = 'INSERT INTO customer(email, name, address) VALUES (:email, \'user5\', \'address5\')';
......
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