public function vfsStreamWrapperTestCase::pathIsUpdatedAfterMove 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::pathIsUpdatedAfterMove()
@test @group issue_34 @since 1.2.0
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperTestCase.php, line 750
Class
Namespace
org\bovigo\vfsCode
public function pathIsUpdatedAfterMove() {
// move foo/bar/baz1 to foo/baz3
$baz3URL = vfsStream::url('foo/baz3');
$this
->assertTrue(rename($this->baz1URL, $baz3URL));
$this
->assertEquals(vfsStream::path($baz3URL), $this->baz1
->path());
}