diff --git a/tests/src/Unit/AzureTest.php b/tests/src/Unit/AzureTest.php index 9520b83..476b6d8 100644 --- a/tests/src/Unit/AzureTest.php +++ b/tests/src/Unit/AzureTest.php @@ -76,7 +76,9 @@ public function testGetExternalUrl() : void { * @dataProvider connectionStringData */ public function testGetClient(array $configuration, array $expected) : void { - $azure = new Azure($configuration); + $fileUrlGenerator = $this->prophesize(FileUrlGeneratorInterface::class); + $logger = $this->prophesize(LoggerInterface::class); + $azure = new Azure($configuration, $logger->reveal(), $fileUrlGenerator->reveal()); $client = $azure->getClient(); $this->assertEquals($expected['primaryUri'], (string) $client->getPsrPrimaryUri()); $this->assertEquals($expected['secondaryUri'], (string) $client->getPsrSecondaryUri());