modified testing php template
This commit is contained in:
@ -31,7 +31,7 @@ class PHPViewTest extends PHPUnit_Framework_TestCase
|
|||||||
vfsStreamWrapper::setRoot($root);
|
vfsStreamWrapper::setRoot($root);
|
||||||
$views_dir = vfsStream::newDirectory('views');
|
$views_dir = vfsStream::newDirectory('views');
|
||||||
$this->template = new vfsStreamFile('test.phtml');
|
$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);
|
$views_dir->addChild($this->template);
|
||||||
$root->addChild($views_dir);
|
$root->addChild($views_dir);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user