Skip to content

Commit

Permalink
UHF-9113: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Oct 27, 2023
1 parent 21433cd commit b9286ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/src/Unit/AzureTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit b9286ad

Please sign in to comment.