public function vfsStreamWrapperMkDirTestCase::canCreateFolderOfSameNameAsParentFolder in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperDirTestCase.php \org\bovigo\vfs\vfsStreamWrapperMkDirTestCase::canCreateFolderOfSameNameAsParentFolder()
@test @group issue_32
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperDirTestCase.php, line 469
Class
- vfsStreamWrapperMkDirTestCase
- Test for org\bovigo\vfs\vfsStreamWrapper around mkdir().
Namespace
org\bovigo\vfsCode
public function canCreateFolderOfSameNameAsParentFolder() {
$root = vfsStream::setup('testFolder');
mkdir(vfsStream::url('testFolder') . '/testFolder/subTestFolder', 0777, true);
$this
->assertTrue(file_exists(vfsStream::url('testFolder/testFolder/subTestFolder/.')));
}