protected function FileTest::setUp in One Click Upload 7.2
Overrides FlowUnitCase::setUp
File
- flowphp/
test/ Unit/ FileTest.php, line 38
Class
- FileTest
- File unit tests
Namespace
UnitCode
protected function setUp() {
parent::setUp();
// Setup virtual file system
vfsStreamWrapper::register();
$this->vfs = new vfsStreamDirectory('chunks');
vfsStreamWrapper::setRoot($this->vfs);
// Setup Config
$this->config = new Config();
$this->config
->setTempDir($this->vfs
->url());
}