Skip to content

Commit

Permalink
Run client factory test in separate process to prevent race condition
Browse files Browse the repository at this point in the history
Sometimes there is no client in the dependency container, don't know
why...
  • Loading branch information
nkl-kst committed Jun 26, 2024
1 parent 5e6f849 commit a4054ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/unit/Client/ClientFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
*/
class ClientFactoryTest extends TestCase
{
/**
* @runInSeparateProcess
*/
public function testCreate(): void
{
$this->assertInstanceOf(Client::class, ClientFactory::create());
Expand Down

0 comments on commit a4054ad

Please sign in to comment.