diff --git a/tests/Doctrine/Tests/ORM/Query/LanguageRecognitionTest.php b/tests/Doctrine/Tests/ORM/Query/LanguageRecognitionTest.php index 46e72245a22..064c0a799cb 100644 --- a/tests/Doctrine/Tests/ORM/Query/LanguageRecognitionTest.php +++ b/tests/Doctrine/Tests/ORM/Query/LanguageRecognitionTest.php @@ -24,6 +24,7 @@ public function assertValidDQL($dql, $debug = false) { try { $parserResult = $this->parseDql($dql); + $this->addToAssertionCount(1); } catch (QueryException $e) { if ($debug) { echo $e->getTraceAsString() . PHP_EOL; @@ -44,6 +45,7 @@ public function assertInvalidDQL($dql, $debug = false) echo $e->getMessage() . PHP_EOL; echo $e->getTraceAsString() . PHP_EOL; } + $this->addToAssertionCount(1); } }