You are here

public function vfsStreamWrapperMkDirTestCase::mkdirWithDots in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperDirTestCase.php \org\bovigo\vfs\vfsStreamWrapperMkDirTestCase::mkdirWithDots()

@test @group issue_9 @since 0.9.0

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperDirTestCase.php, line 80

Class

vfsStreamWrapperMkDirTestCase
Test for org\bovigo\vfs\vfsStreamWrapper around mkdir().

Namespace

org\bovigo\vfs

Code

public function mkdirWithDots() {
  $this
    ->assertTrue(mkdir($this->fooURL . '/another/../more/.', 0777, true));
  $this
    ->assertEquals(3, count($this->foo
    ->getChildren()));
  $this
    ->assertTrue($this->foo
    ->hasChild('more'));
}