From 1c31bba338efdff76cb08f232d9912267fedb2b9 Mon Sep 17 00:00:00 2001 From: Guillaume Sainthillier Date: Mon, 20 Jan 2025 10:43:29 +0100 Subject: [PATCH] fix typo --- .../DependencyInjection/FlysystemExtensionTest.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/DependencyInjection/FlysystemExtensionTest.php b/tests/DependencyInjection/FlysystemExtensionTest.php index 20434ac..d168c95 100644 --- a/tests/DependencyInjection/FlysystemExtensionTest.php +++ b/tests/DependencyInjection/FlysystemExtensionTest.php @@ -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); @@ -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')) { @@ -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'); @@ -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'); @@ -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'); @@ -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'); @@ -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',