From d5a9ea57407e4aa25b25fd92d84f59e91d5cc772 Mon Sep 17 00:00:00 2001 From: Ivan Shalganov Date: Sat, 22 Feb 2014 20:53:36 +0400 Subject: [PATCH] Fix tests for PHP 5.3 --- tests/cases/Fenom/ExtendsTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cases/Fenom/ExtendsTest.php b/tests/cases/Fenom/ExtendsTest.php index 56bac3b..89b1cf7 100644 --- a/tests/cases/Fenom/ExtendsTest.php +++ b/tests/cases/Fenom/ExtendsTest.php @@ -10,7 +10,7 @@ class ExtendsTest extends TestCase public function _testSandbox() { try { - var_dump($this->fenom->getTemplate("extends/static/nested/child.1.tpl")->fetch([])); +// var_dump($this->fenom->getTemplate("extends/static/nested/child.1.tpl")->fetch([])); // var_dump($this->fenom->getTemplate("extends/dynamic/child.2.tpl")->getBody()); // var_dump($this->fenom->compileCode('{block "main"}a {parent} b{/block}')->getBody()); // $child = $this->fenom->getRawTemplate()->load('autoextends/child.1.tpl', false); @@ -47,12 +47,12 @@ Before body Child 3 content Before footer Footer from use"; - $this->assertSame($result, $this->fenom->fetch([ + $this->assertSame($result, $this->fenom->fetch(array( 'extends/auto/child.3.tpl', 'extends/auto/child.2.tpl', 'extends/auto/child.1.tpl', 'extends/auto/parent.tpl', - ], array())); + ), array())); } public function testStaticExtendLevel1() {