From 3d7a7346f7a30a6d397422033d0f8728eeeb9732 Mon Sep 17 00:00:00 2001 From: Sam-Burns Date: Fri, 31 Mar 2017 21:45:35 +0100 Subject: [PATCH] Quieting risky test warnings where tests do actually perform assertions --- tests/Doctrine/Tests/ORM/Query/LanguageRecognitionTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Doctrine/Tests/ORM/Query/LanguageRecognitionTest.php b/tests/Doctrine/Tests/ORM/Query/LanguageRecognitionTest.php index 46e72245a..064c0a799 100644 --- a/tests/Doctrine/Tests/ORM/Query/LanguageRecognitionTest.php +++ b/tests/Doctrine/Tests/ORM/Query/LanguageRecognitionTest.php @@ -24,6 +24,7 @@ class LanguageRecognitionTest extends OrmTestCase { try { $parserResult = $this->parseDql($dql); + $this->addToAssertionCount(1); } catch (QueryException $e) { if ($debug) { echo $e->getTraceAsString() . PHP_EOL; @@ -44,6 +45,7 @@ class LanguageRecognitionTest extends OrmTestCase echo $e->getMessage() . PHP_EOL; echo $e->getTraceAsString() . PHP_EOL; } + $this->addToAssertionCount(1); } }