Commit ee124beb authored by Marco Pivetta's avatar Marco Pivetta Committed by Steve Müller

#685 - as per @deeky666's review, exception should be expected only on the quoting call

parent d665f62b
......@@ -405,8 +405,10 @@ SQLSTATE[HY000]: General error: 1 near \"MUUHAAAAHAAAA\"");
public function testConnectionIsClosed()
{
$this->setExpectedException('Doctrine\\DBAL\\Exception\\DriverException');
$this->_conn->close();
$this->setExpectedException('Doctrine\\DBAL\\Exception\\DriverException');
$this->_conn->quoteIdentifier('Bug');
}
......
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