Skip to content
Snippets Groups Projects
Unverified Commit e5a80d67 authored by Ted Bowman's avatar Ted Bowman
Browse files

phpcbf

parent 35a0a891
No related branches found
No related tags found
1 merge request!78Issue #3243422: Add a kernel test of WritableFileSystemValidator
This commit is part of merge request !78. Comments created here will be created in the context of that merge request.
......@@ -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'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment