|
|
|
|
@ -1539,7 +1539,6 @@ class ViewTest extends \Test\TestCase { |
|
|
|
|
public function testHookPaths($root, $path, $shouldEmit): void { |
|
|
|
|
$filesystemReflection = new \ReflectionClass(Filesystem::class); |
|
|
|
|
$defaultRootValue = $filesystemReflection->getProperty('defaultInstance'); |
|
|
|
|
$defaultRootValue->setAccessible(true); |
|
|
|
|
$oldRoot = $defaultRootValue->getValue(); |
|
|
|
|
$defaultView = new View('/foo/files'); |
|
|
|
|
$defaultRootValue->setValue(null, $defaultView); |
|
|
|
|
|