Remove deprecation linked to kernel shutdown

This commit is contained in:
2023-08-31 18:36:37 +02:00
parent 7c58880139
commit 6f11dffcbd
23 changed files with 166 additions and 85 deletions

View File

@@ -30,9 +30,9 @@ final class PersonControllerViewTest extends WebTestCase
*/
private static array $toDelete = [];
protected function setUp(): void
protected function tearDown(): void
{
self::bootKernel();
self::ensureKernelShutdown();
}
public static function tearDownAfterClass(): void
@@ -113,6 +113,8 @@ final class PersonControllerViewTest extends WebTestCase
$em->flush();
yield [$person->getId()];
self::ensureKernelShutdown();
}
private function makeViewPath(int $personId): string