Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-sainthillier committed Jan 20, 2025
1 parent 3c90cda commit c0c7dca
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/DependencyInjection/FlysystemExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function provideFilesystems(): \Generator
*/
public function testFilesystems(string $fsName): void
{
$kernel = $this->createFysystemKernel();
$kernel = $this->createFlysystemKernel();
$container = $kernel->getContainer()->get('test.service_container');

$fs = $container->get('flysystem.test.'.$fsName);
Expand All @@ -60,7 +60,7 @@ public function testFilesystems(string $fsName): void
*/
public function testTaggedCollection(string $fsName): void
{
$kernel = $this->createFysystemKernel();
$kernel = $this->createFlysystemKernel();
$container = $kernel->getContainer()->get('test.service_container');

if (!$container->has('storages_tagged_collection')) {
Expand All @@ -74,7 +74,7 @@ public function testTaggedCollection(string $fsName): void

public function testPublicUrl(): void
{
$kernel = $this->createFysystemKernel();
$kernel = $this->createFlysystemKernel();
$container = $kernel->getContainer()->get('test.service_container');

$fs = $container->get('flysystem.test.fs_public_url');
Expand All @@ -84,7 +84,7 @@ public function testPublicUrl(): void

public function testPublicUrls(): void
{
$kernel = $this->createFysystemKernel();
$kernel = $this->createFlysystemKernel();
$container = $kernel->getContainer()->get('test.service_container');

$fs = $container->get('flysystem.test.fs_public_urls');
Expand All @@ -96,7 +96,7 @@ public function testPublicUrls(): void

public function testUrlGenerators(): void
{
$kernel = $this->createFysystemKernel();
$kernel = $this->createFlysystemKernel();
$container = $kernel->getContainer()->get('test.service_container');

$fs = $container->get('flysystem.test.fs_url_generator');
Expand All @@ -107,7 +107,7 @@ public function testUrlGenerators(): void

public function testReadOnly(): void
{
$kernel = $this->createFysystemKernel();
$kernel = $this->createFlysystemKernel();
$container = $kernel->getContainer()->get('test.service_container');

$fs = $container->get('flysystem.test.fs_read_only');
Expand All @@ -118,7 +118,7 @@ public function testReadOnly(): void
$fs->write('/path/to/file', 'Unable to write in read only');
}

private function createFysystemKernel(): FlysystemAppKernel
private function createFlysystemKernel(): FlysystemAppKernel
{
(new Dotenv())->populate([
'AWS_BUCKET' => 'bucket-name',
Expand Down

0 comments on commit c0c7dca

Please sign in to comment.