mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-28 01:25:00 +00:00
upgrade phpunit: make data provider static
This commit is contained in:
@@ -90,10 +90,11 @@ final class FilterListAccompanyingPeriodHelperTest extends KernelTestCase
|
||||
self::assertIsArray($result);
|
||||
}
|
||||
|
||||
public function dataProviderTestAddFilterAccompanyingPeriod(): iterable
|
||||
public static function dataProviderTestAddFilterAccompanyingPeriod(): iterable
|
||||
{
|
||||
self::setUp();
|
||||
$qb = $this->entityManager->createQueryBuilder();
|
||||
self::bootKernel();
|
||||
$entityManager = self::getContainer()->get(EntityManagerInterface::class);
|
||||
$qb = $entityManager->createQueryBuilder();
|
||||
|
||||
$qb
|
||||
->select('acp.id')
|
||||
|
Reference in New Issue
Block a user