You are here

public function vfsStreamWrapperMkDirTestCase::accessWithExcessDoubleDotsReturnsCorrectContent in Zircon Profile 8.0

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

@test @group bug_115

File

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

Class

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

Namespace

org\bovigo\vfs

Code

public function accessWithExcessDoubleDotsReturnsCorrectContent() {
  $this
    ->assertEquals('baz2', file_get_contents(vfsStream::url('foo/../../../../bar/../baz2')));
}