ensure kernel shutdown between client creations

This commit is contained in:
2023-09-01 10:53:42 +02:00
parent cbb89ecf35
commit d595c17cd4

View File

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