public function vfsStreamWrapperTestCase::renameDirectoryWithDotsInTarget in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php \org\bovigo\vfs\vfsStreamWrapperTestCase::renameDirectoryWithDotsInTarget()
@test @group issue_9 @since 0.9.0
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperTestCase.php, line 418
Class
Namespace
org\bovigo\vfsCode
public function renameDirectoryWithDotsInTarget() {
// move foo/bar to foo/baz3
$baz3URL = vfsStream::url('foo/../baz3/.');
$this
->assertTrue(rename($this->barURL . '/.', $baz3URL));
$this
->assertFileExists($baz3URL);
$this
->assertFileNotExists($this->barURL);
}