public function vfsStreamWrapperMkDirTestCase::mkdirNonRecursivelyDifferentPermissions in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperDirTestCase.php \org\bovigo\vfs\vfsStreamWrapperMkDirTestCase::mkdirNonRecursivelyDifferentPermissions()
assert that mkdir() creates the correct directory structure
@test @group permissions
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperDirTestCase.php, line 118
Class
- vfsStreamWrapperMkDirTestCase
- Test for org\bovigo\vfs\vfsStreamWrapper around mkdir().
Namespace
org\bovigo\vfsCode
public function mkdirNonRecursivelyDifferentPermissions() {
$this
->assertTrue(mkdir($this->fooURL . '/another', 0755));
$this
->assertEquals(0755, $this->foo
->getChild('another')
->getPermissions());
}