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

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