mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 13:54:59 +00:00
Remove deprecation linked to kernel shutdown
This commit is contained in:
@@ -46,9 +46,11 @@ final class PersonControllerUpdateTest extends WebTestCase
|
||||
*/
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
}
|
||||
|
||||
$this->client = $this->getClientAuthenticated();
|
||||
protected function tearDown(): void
|
||||
{
|
||||
self::ensureKernelShutdown();
|
||||
}
|
||||
|
||||
public static function tearDownAfterClass(): void
|
||||
@@ -68,6 +70,7 @@ final class PersonControllerUpdateTest extends WebTestCase
|
||||
}
|
||||
|
||||
$em->flush();
|
||||
self::ensureKernelShutdown();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -181,6 +184,8 @@ final class PersonControllerUpdateTest extends WebTestCase
|
||||
$em->flush();
|
||||
|
||||
yield [$person->getId()];
|
||||
|
||||
self::ensureKernelShutdown();
|
||||
}
|
||||
|
||||
private function makeEditPath(int $personId): string
|
||||
|
Reference in New Issue
Block a user