mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix missing count statement
This commit is contained in:
parent
9045db2fa1
commit
a3e6b625b5
@ -121,7 +121,7 @@ abstract class AbstractFilterTest extends KernelTestCase
|
||||
);
|
||||
$this->assertGreaterThanOrEqual(
|
||||
$nbOfWhere,
|
||||
$query->getDQLPart('where') !== null ? count($query->getDQLPart('where')) : 0,
|
||||
$query->getDQLPart('where') !== null ? $query->getDQLPart('where')->count() : 0,
|
||||
"Test that there are equal or more 'where' clause after that the filter has"
|
||||
. "altered the query"
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user