diff --git a/tests/FilesystemManagerStateTest.php b/tests/FilesystemManagerStateTest.php index b87538f66..a22989dc0 100644 --- a/tests/FilesystemManagerStateTest.php +++ b/tests/FilesystemManagerStateTest.php @@ -16,6 +16,7 @@ public function test_filesystem_manager_has_fresh_application_instance() ]); $filesystemManagerApplication = new ReflectionProperty($app['filesystem'], 'app'); + $filesystemManagerApplication->setAccessible(true); $app['router']->get('/first', function (Application $app) use ($filesystemManagerApplication) { return spl_object_hash($filesystemManagerApplication->getValue($app['filesystem']));