modified testing php template

This commit is contained in:
Anton Grebnev
2011-10-14 13:33:57 +04:00
parent b2f20ff293
commit c62272c8bc

View File

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