public function vfsStreamWrapperTestCase::renameDirectoryWithDots 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::renameDirectoryWithDots()
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperTestCase.php, line 404
Class
Namespace
org\bovigo\vfsCode
public function renameDirectoryWithDots() {
// move foo/bar to foo/baz3
$baz3URL = vfsStream::url('foo/baz3');
$this
->assertTrue(rename($this->barURL . '/.', $baz3URL));
$this
->assertFileExists($baz3URL);
$this
->assertFileNotExists($this->barURL);
}