|
|
@ -31,7 +31,7 @@ class PHPViewTest extends PHPUnit_Framework_TestCase |
|
|
|
vfsStreamWrapper::setRoot($root); |
|
|
|
$views_dir = vfsStream::newDirectory('views'); |
|
|
|
$this->template = new vfsStreamFile('test.phtml'); |
|
|
|
$this->template->setContent('<?= $a ." " . $b . " " . $c; ?>'); |
|
|
|
$this->template->setContent('<?php echo $a ." " . $b . " " . $c; ?>'); |
|
|
|
$views_dir->addChild($this->template); |
|
|
|
$root->addChild($views_dir); |
|
|
|
|
|
|
|