fixup! Update test methods to static in AbstractFilterTest

This commit is contained in:
Julien Fastré 2024-02-16 19:17:10 +01:00
parent 11f6b78b26
commit 94725bc92f
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
2 changed files with 2 additions and 0 deletions

View File

@ -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')

View File

@ -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,
]; ];