From d595c17cd4c9a0da331ce47182619c10a0fb43db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 1 Sep 2023 10:53:42 +0200 Subject: [PATCH] ensure kernel shutdown between client creations --- .../Tests/Controller/RelationshipApiControllerTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Bundle/ChillPersonBundle/Tests/Controller/RelationshipApiControllerTest.php b/src/Bundle/ChillPersonBundle/Tests/Controller/RelationshipApiControllerTest.php index 03660365f..b97e4a6e8 100644 --- a/src/Bundle/ChillPersonBundle/Tests/Controller/RelationshipApiControllerTest.php +++ b/src/Bundle/ChillPersonBundle/Tests/Controller/RelationshipApiControllerTest.php @@ -112,6 +112,7 @@ final class RelationshipApiControllerTest extends WebTestCase */ public function testGetRelationshipByPerson(mixed $personId) { + self::ensureKernelShutdown(); $client = $this->getClientAuthenticated(); $client->request(Request::METHOD_GET, sprintf('/api/1.0/relations/relationship/by-person/%d.json', $personId));