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 11
11
12
12
namespace Tests \League \FlysystemBundle \Lazy ;
13
13
14
+ use League \Flysystem \Filesystem ;
14
15
use League \Flysystem \InMemory \InMemoryFilesystemAdapter ;
15
16
use League \FlysystemBundle \Lazy \LazyFactory ;
16
17
use PHPUnit \Framework \TestCase ;
@@ -40,8 +41,8 @@ public function testItErrorsWhenServiceIsNotAvailable(): void
40
41
41
42
public function testItReturnsTheRequestedStorageService (): void
42
43
{
43
- $ actual = new InMemoryFilesystemAdapter ();
44
- $ lazy = new InMemoryFilesystemAdapter ();
44
+ $ actual = new Filesystem ( new InMemoryFilesystemAdapter () );
45
+ $ lazy = new Filesystem ( new InMemoryFilesystemAdapter () );
45
46
46
47
$ containerBuilder = new ContainerBuilder ();
47
48
$ containerBuilder ->set ('source_storage ' , $ actual );
You can’t perform that action at this time.
0 commit comments