From a4054ad107f09aef53f9740f41381ed3f69439ec Mon Sep 17 00:00:00 2001 From: nkl-kst <24235974+nkl-kst@users.noreply.github.com> Date: Wed, 26 Jun 2024 07:50:01 +0200 Subject: [PATCH] Run client factory test in separate process to prevent race condition Sometimes there is no client in the dependency container, don't know why... --- test/unit/Client/ClientFactoryTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/unit/Client/ClientFactoryTest.php b/test/unit/Client/ClientFactoryTest.php index d8e332f..ed5fe57 100644 --- a/test/unit/Client/ClientFactoryTest.php +++ b/test/unit/Client/ClientFactoryTest.php @@ -9,6 +9,9 @@ */ class ClientFactoryTest extends TestCase { + /** + * @runInSeparateProcess + */ public function testCreate(): void { $this->assertInstanceOf(Client::class, ClientFactory::create());