Skip to content
Snippets Groups Projects

Issue #3243422: Add a kernel test of WritableFileSystemValidator

Merged Issue #3243422: Add a kernel test of WritableFileSystemValidator
1 unresolved thread
Merged Ted Bowman requested to merge issue/automatic_updates-3243422:3243422-use-vfs into 8.x-2.x
1 unresolved thread
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -100,8 +100,8 @@ class WritableFileSystemValidatorTest extends AutomaticUpdatesKernelTestBase {
*/
public function testWritable(array $paths, array $expected_results): void {
$files = vfsStream::setup('htdoc', 0777);
$files->addChild(vfsStream::newDirectory('root', $paths['root'] ? 0777: 0444));
$files->addChild(vfsStream::newDirectory('vendor', $paths['vendor'] ? 0777: 0444));
$files->addChild(vfsStream::newDirectory('root', $paths['root'] ? 0777 : 0444));
$files->addChild(vfsStream::newDirectory('vendor', $paths['vendor'] ? 0777 : 0444));
$path_locator = $this->prophesize(PathLocator::class);
$path_locator->getVendorDirectory()->willReturn(vfsStream::url('htdoc/vendor'));
Loading