public function vfsStreamUmaskTestCase::createDirectoryWithDifferentUmaskSetting in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamUmaskTestCase.php \org\bovigo\vfs\vfsStreamUmaskTestCase::createDirectoryWithDifferentUmaskSetting()
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamUmaskTestCase.php, line 93
Class
- vfsStreamUmaskTestCase
- Test for umask settings.
Namespace
org\bovigo\vfsCode
public function createDirectoryWithDifferentUmaskSetting() {
vfsStream::umask(022);
$directory = new vfsStreamDirectory('foo');
$this
->assertEquals(0755, $directory
->getPermissions());
}