Skip to content

Commit

Permalink
✅ Fix Azure blob storage tests (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek- authored Sep 30, 2022
1 parent 1b392c0 commit a805ed6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ protected function setUp(): void
$this->markTestSkipped('Either AZURE_ACCOUNT, AZURE_KEY and/or AZURE_CONTAINER env variables are not defined.');
}

$connection = sprintf('BlobEndpoint=https://%1$s.blob.core.windows.net/;AccountName=%1$s;AccountKey=%2$s', $account, $key);
$connection = sprintf('DefaultEndpointsProtocol=https;AccountName=%s;AccountKey=%s;EndpointSuffix=core.windows.net', $account, $key);

$this->container = uniqid($containerName);
$this->adapter = new AzureBlobStorage(new BlobProxyFactory($connection), $this->container, true);
Expand Down

0 comments on commit a805ed6

Please sign in to comment.