mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-01 15:01:24 +00:00
Remove deprecation linked to kernel shutdown
This commit is contained in:
@@ -31,10 +31,14 @@ class AddressToReferenceMatcherControllerTest extends WebTestCase
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
$this->addressRepository = self::$container->get(AddressRepository::class);
|
||||
}
|
||||
|
||||
protected function tearDown(): void
|
||||
{
|
||||
self::ensureKernelShutdown();
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider addressToReviewProvider
|
||||
*/
|
||||
@@ -92,6 +96,8 @@ class AddressToReferenceMatcherControllerTest extends WebTestCase
|
||||
$em->flush();
|
||||
|
||||
yield [$address->getId()];
|
||||
|
||||
self::ensureKernelShutdown();
|
||||
}
|
||||
|
||||
public static function addressUnsyncedProvider(): iterable
|
||||
@@ -123,5 +129,7 @@ class AddressToReferenceMatcherControllerTest extends WebTestCase
|
||||
$em->flush();
|
||||
|
||||
yield [$address->getId()];
|
||||
|
||||
self::ensureKernelShutdown();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user