diff --git a/tests/LoadTest.php b/tests/LoadTest.php index d3458d3..78e9e43 100644 --- a/tests/LoadTest.php +++ b/tests/LoadTest.php @@ -42,6 +42,7 @@ class LoadTest extends PHPUnit_Framework_TestCase self::$autoload_array = array('Db' => '/lib/core/model/Db.php', 'DbDriver' => '/lib/core/model/DbDriver.php'); vfsStreamWrapper::register(); + vfsStream::setup(); $this->root = vfsStream::create( array( 'lib' => array( diff --git a/tests/logger/FileLoggerTest.php b/tests/logger/FileLoggerTest.php index acea352..889f985 100644 --- a/tests/logger/FileLoggerTest.php +++ b/tests/logger/FileLoggerTest.php @@ -30,6 +30,7 @@ class FileLoggerTest extends PHPUnit_Framework_TestCase public function setUp() { vfsStreamWrapper::register(); + vfsStream::setup(); $root = vfsStream::create(array()); vfsStreamWrapper::setRoot($root); $this->conf = array('logger' => 'FileLogger', 'filepath' => vfsStream::url('root/log.txt')); diff --git a/tests/view/PHPViewTest.php b/tests/view/PHPViewTest.php index c4aa69a..99dcc0e 100644 --- a/tests/view/PHPViewTest.php +++ b/tests/view/PHPViewTest.php @@ -28,6 +28,7 @@ class PHPViewTest extends PHPUnit_Framework_TestCase public function setUp() { vfsStreamWrapper::register(); + vfsStream::setup(); $root = vfsStream::create(array()); vfsStreamWrapper::setRoot($root); $views_dir = vfsStream::newDirectory('views');