You are here

public function vfsStreamResolveIncludePathTestCase::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamResolveIncludePathTestCase.php \org\bovigo\vfs\vfsStreamResolveIncludePathTestCase::setUp()

set up test environment

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamResolveIncludePathTestCase.php, line 29

Class

vfsStreamResolveIncludePathTestCase
Test for org\bovigo\vfs\vfsStream.

Namespace

org\bovigo\vfs

Code

public function setUp() {
  $this->backupIncludePath = get_include_path();
  vfsStream::setup();
  mkdir('vfs://root/a/path', 0777, true);
  set_include_path('vfs://root/a' . PATH_SEPARATOR . $this->backupIncludePath);
}