1
0
Fork 0
mirror of synced 2025-04-02 04:46:16 +03:00

Quieting risky test warnings where tests do actually perform assertions

This commit is contained in:
Sam-Burns 2017-03-31 21:45:35 +01:00
parent 5bd7bd8d48
commit 3d7a7346f7

View file

@ -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);
}
}