Browse Source

modified testing php template

master
Anton Grebnev 13 years ago
parent
commit
c62272c8bc
  1. 2
      tests/view/PHPViewTest.php

2
tests/view/PHPViewTest.php

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

Loading…
Cancel
Save