File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1111
1212namespace Tests \League \FlysystemBundle \Lazy ;
1313
14+ use League \Flysystem \Filesystem ;
1415use League \Flysystem \InMemory \InMemoryFilesystemAdapter ;
1516use League \FlysystemBundle \Lazy \LazyFactory ;
1617use PHPUnit \Framework \TestCase ;
@@ -40,8 +41,8 @@ public function testItErrorsWhenServiceIsNotAvailable(): void
4041
4142 public function testItReturnsTheRequestedStorageService (): void
4243 {
43- $ actual = new InMemoryFilesystemAdapter ();
44- $ lazy = new InMemoryFilesystemAdapter ();
44+ $ actual = new Filesystem ( new InMemoryFilesystemAdapter () );
45+ $ lazy = new Filesystem ( new InMemoryFilesystemAdapter () );
4546
4647 $ containerBuilder = new ContainerBuilder ();
4748 $ containerBuilder ->set ('source_storage ' , $ actual );
You can’t perform that action at this time.
0 commit comments