diff --git a/tests/Doctrine/Tests/ORM/Performance/DDC2602Test.php b/tests/Doctrine/Tests/ORM/Performance/DDC2602Test.php index 618b5f9c6..de8bedfc7 100644 --- a/tests/Doctrine/Tests/ORM/Performance/DDC2602Test.php +++ b/tests/Doctrine/Tests/ORM/Performance/DDC2602Test.php @@ -8,7 +8,6 @@ use Doctrine\ORM\Events; use Doctrine\Tests\OrmPerformanceTestCase; /** - * @group performance * @group DDC-2602 */ class DDC2602Test extends OrmPerformanceTestCase @@ -51,14 +50,10 @@ class DDC2602Test extends OrmPerformanceTestCase // Set maximum seconds this can run $this->setMaxRunningTime(1); - $s = microtime(true); - - $query = $this->_em->createQuery('SELECT u, b FROM Doctrine\Tests\ORM\Performance\DDC2602User u JOIN u.biography b'); - $query->getResult(); - - $e = microtime(true); - - echo __FUNCTION__ . " - " . ($e - $s) . " seconds" . PHP_EOL; + $this + ->_em + ->createQuery('SELECT u, b FROM Doctrine\Tests\ORM\Performance\DDC2602User u JOIN u.biography b') + ->getResult(); } private function loadFixture()