1111
1212namespace Tests \League \FlysystemBundle \Adapter \Builder ;
1313
14- use AsyncAws \Flysystem \S3 \S3FilesystemV1 ;
14+ use AsyncAws \Flysystem \S3 \AsyncAwsS3Adapter ;
1515use League \FlysystemBundle \Adapter \Builder \AsyncAwsAdapterDefinitionBuilder ;
1616use PHPUnit \Framework \TestCase ;
1717use Symfony \Component \DependencyInjection \Reference ;
@@ -53,16 +53,16 @@ public function provideValidOptions()
5353 */
5454 public function testCreateDefinition ($ options )
5555 {
56- if (!class_exists (S3FilesystemV1 ::class)) {
56+ if (!class_exists (AsyncAwsS3Adapter ::class)) {
5757 $ this ->markTestSkipped ();
5858 }
5959
60- $ this ->assertSame (S3FilesystemV1 ::class, $ this ->createBuilder ()->createDefinition ($ options )->getClass ());
60+ $ this ->assertSame (AsyncAwsS3Adapter ::class, $ this ->createBuilder ()->createDefinition ($ options )->getClass ());
6161 }
6262
6363 public function testOptionsBehavior ()
6464 {
65- if (!class_exists (S3FilesystemV1 ::class)) {
65+ if (!class_exists (AsyncAwsS3Adapter ::class)) {
6666 $ this ->markTestSkipped ();
6767 }
6868
@@ -75,7 +75,7 @@ public function testOptionsBehavior()
7575 ],
7676 ]);
7777
78- $ this ->assertSame (S3FilesystemV1 ::class, $ definition ->getClass ());
78+ $ this ->assertSame (AsyncAwsS3Adapter ::class, $ definition ->getClass ());
7979 $ this ->assertInstanceOf (Reference::class, $ definition ->getArgument (0 ));
8080 $ this ->assertSame ('my_client ' , (string ) $ definition ->getArgument (0 ));
8181 $ this ->assertSame ('bucket ' , $ definition ->getArgument (1 ));
0 commit comments