Commit 27f3ceba authored by Marco Pivetta's avatar Marco Pivetta

Merge branch 'test/#691-failing-test-for-#685' into hotfix/#685-DBAL-997-undefined-_conn-property

Close #691
parents aefb4e7b 28559866
...@@ -403,6 +403,13 @@ SQLSTATE[HY000]: General error: 1 near \"MUUHAAAAHAAAA\""); ...@@ -403,6 +403,13 @@ SQLSTATE[HY000]: General error: 1 near \"MUUHAAAAHAAAA\"");
$this->assertSame($result, $conn->fetchColumn($statement, $params, $column, $types)); $this->assertSame($result, $conn->fetchColumn($statement, $params, $column, $types));
} }
public function testConnectionIsClosed()
{
$this->setExpectedException('Doctrine\\DBAL\\Exception\\DriverException');
$this->_conn->close();
$this->_conn->quoteIdentifier('Bug');
}
public function testFetchAll() public function testFetchAll()
{ {
$statement = 'SELECT * FROM foo WHERE bar = ?'; $statement = 'SELECT * FROM foo WHERE bar = ?';
......
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