public function vfsStreamZipTestCase::setUp in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamZipTestCase.php \org\bovigo\vfs\vfsStreamZipTestCase::setUp()
set up test environment
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamZipTestCase.php, line 21
Class
- vfsStreamZipTestCase
- Test for org\bovigo\vfs\vfsStreamWrapper in conjunction with ext/zip.
Namespace
org\bovigo\vfsCode
public function setUp() {
if (extension_loaded('zip') === false) {
$this
->markTestSkipped('No ext/zip installed, skipping test.');
}
$this
->markTestSkipped('Zip extension can not work with vfsStream urls.');
vfsStreamWrapper::register();
vfsStreamWrapper::setRoot(vfsStream::newDirectory('root'));
}