Skip to content

Commit

Permalink
Fixed test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan0sz committed Sep 25, 2024
1 parent 7d0f879 commit 85cddae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/unit/ClientFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ public function testBuild() {
$clientFactory = new ClientFactory();
$client = $clientFactory->build();

$this->assertInstanceOf( false, $client );

$clientFactory = new ClientFactory( 'test' );
$client = $clientFactory->build();

$this->assertInstanceOf( Client::class, $client );
}
}

0 comments on commit 85cddae

Please sign in to comment.