Fixed vfsStream to version 0.11.1 (work with both 0.10.1 and 0.11.1)

This commit is contained in:
Alexander Letov
2011-12-06 14:41:47 +04:00
committed by Anton Terekhov
parent 400d2667df
commit 34645282ce
3 changed files with 3 additions and 0 deletions

View File

@ -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'));