We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 561e4da commit 50348c2Copy full SHA for 50348c2
tests/AzureStorageBlobAdapterTest.php
@@ -4,6 +4,7 @@
4
5
use AzureOss\LaravelAzureStorageBlob\AzureStorageBlobAdapter;
6
use AzureOss\LaravelAzureStorageBlob\AzureStorageBlobServiceProvider;
7
+use AzureOss\Storage\Blob\BlobServiceClient;
8
use Illuminate\Support\Facades\Http;
9
use Illuminate\Support\Facades\Storage;
10
use Orchestra\Testbench\TestCase;
@@ -34,6 +35,10 @@ public function it_resolves_from_manager(): void
34
35
#[Test]
36
public function driver_works(): void
37
{
38
+ BlobServiceClient::fromConnectionString(env('AZURE_STORAGE_CONNECTION_STRING'))
39
+ ->getContainerClient(env('AZURE_STORAGE_CONTAINER'))
40
+ ->createIfNotExists();
41
+
42
$driver = Storage::disk('azure');
43
44
// cleanup from previous test runs
0 commit comments