Commit 99657f7f authored by till's avatar till

Enhancement: use connect() to simplify the test

parent bffed619
...@@ -225,7 +225,7 @@ class ConnectionTest extends \Doctrine\Tests\DbalFunctionalTestCase ...@@ -225,7 +225,7 @@ class ConnectionTest extends \Doctrine\Tests\DbalFunctionalTestCase
public function testPingReturnsTrueWhenConnectionIsPingedOrOpen() public function testPingReturnsTrueWhenConnectionIsPingedOrOpen()
{ {
$this->_conn->executeQuery($this->_conn->getDatabasePlatform()->getDummySelectSQL()); $this->_conn->connect();
$this->assertTrue($this->_conn->ping()); $this->assertTrue($this->_conn->ping());
} }
} }
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