Skip to content

Commit 99eedab

Browse files
Fix FilesystemManagerStateTest (#459)
* Fix FilesystemManagerStateTest * Use available $app instance
1 parent 2eba7a8 commit 99eedab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/FilesystemManagerStateTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public function test_filesystem_manager_has_fresh_application_instance()
1616
]);
1717

1818
$filesystemManagerApplication = new ReflectionProperty($app['filesystem'], 'app');
19+
$filesystemManagerApplication->setAccessible(true);
1920

2021
$app['router']->get('/first', function (Application $app) use ($filesystemManagerApplication) {
2122
return spl_object_hash($filesystemManagerApplication->getValue($app['filesystem']));

0 commit comments

Comments
 (0)