diff --git a/tests/Doctrine/Tests/OrmFunctionalTestCase.php b/tests/Doctrine/Tests/OrmFunctionalTestCase.php
index <HASH>..<HASH> 100644
--- a/tests/Doctrine/Tests/OrmFunctionalTestCase.php
+++ b/tests/Doctrine/Tests/OrmFunctionalTestCase.php
@@ -219,7 +219,7 @@ abstract class OrmFunctionalTestCase extends OrmTestCase
     protected function tearDown()
     {
         $conn     = static::$_sharedConn;
-        $platform = $this->_em->getConnection()->getDatabasePlatform();
+        $platform = $conn->getDatabasePlatform();
 
         $this->_sqlLoggerStack->enabled = false;
Fixed identifier quoting in functional tests.