You are here

public function vfsStreamUmaskTestCase::createDirectoryWithDefaultUmaskSetting in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamUmaskTestCase.php \org\bovigo\vfs\vfsStreamUmaskTestCase::createDirectoryWithDefaultUmaskSetting()

@test

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamUmaskTestCase.php, line 84

Class

vfsStreamUmaskTestCase
Test for umask settings.

Namespace

org\bovigo\vfs

Code

public function createDirectoryWithDefaultUmaskSetting() {
  $directory = new vfsStreamDirectory('foo');
  $this
    ->assertEquals(0777, $directory
    ->getPermissions());
}