mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
fixup! Update test methods to static in AbstractFilterTest
This commit is contained in:
@@ -55,6 +55,7 @@ class NotAssociatedWithAReferenceAddressFilterTest extends AbstractFilterTest
|
|||||||
{
|
{
|
||||||
self::bootKernel();
|
self::bootKernel();
|
||||||
$em = self::getContainer()->get(EntityManagerInterface::class);
|
$em = self::getContainer()->get(EntityManagerInterface::class);
|
||||||
|
|
||||||
return [
|
return [
|
||||||
$em->createQueryBuilder()
|
$em->createQueryBuilder()
|
||||||
->select('acp.id')
|
->select('acp.id')
|
||||||
|
@@ -57,6 +57,7 @@ class ByStepFilterTest extends AbstractFilterTest
|
|||||||
->select('COUNT(DISTINCT acpstephistory.id) As export_result')
|
->select('COUNT(DISTINCT acpstephistory.id) As export_result')
|
||||||
->from(AccompanyingPeriodStepHistory::class, 'acpstephistory')
|
->from(AccompanyingPeriodStepHistory::class, 'acpstephistory')
|
||||||
->join('acpstephistory.period', 'acp');
|
->join('acpstephistory.period', 'acp');
|
||||||
|
|
||||||
return [
|
return [
|
||||||
$qb,
|
$qb,
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user