protected function setUp() { if ('true' === getenv('GUSH_USE_FS')) { $this->tmpFs = sys_get_temp_dir(); if (!$this->tmpFs) { $this->markTestSkipped('No system temp directory configured.'); } } else { $this->tmpFs = vfsStream::setup(); } }
protected function setUp() { parent::setUp(); $this->homedir = $this->getNewTmpFolder('gush-home'); putenv('GUSH_HOME=' . $this->homedir); putenv('GUSH_CACHE_DIR'); }