Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #173

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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()
*/
public function testFilesystems(string $fsName)
{
$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)
*/
public function testTaggedCollection(string $fsName)
{
$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)

public function testPublicUrl()
{
$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()

public function testPublicUrls()
{
$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()

public function testUrlGenerators()
{
$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()

public function testReadOnly()
{
$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()
$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
Loading