From c4080f1bf35db382064e274d6260812399a50f23 Mon Sep 17 00:00:00 2001 From: bzick Date: Mon, 5 Aug 2013 19:29:11 +0400 Subject: [PATCH] Back tests to php 5.3 --- tests/cases/FenomTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cases/FenomTest.php b/tests/cases/FenomTest.php index 0d03978..35faa99 100644 --- a/tests/cases/FenomTest.php +++ b/tests/cases/FenomTest.php @@ -119,17 +119,17 @@ class FenomTest extends \Fenom\TestCase { $punit = $this; $this->fenom->addPreFilter(function ($src, $tpl) use ($punit) { - $this->assertInstanceOf('Fenom\Template', $tpl); + $punit->assertInstanceOf('Fenom\Template', $tpl); return "== $src =="; }); $this->fenom->addPostFilter(function ($code, $tpl) use ($punit) { - $this->assertInstanceOf('Fenom\Template', $tpl); + $punit->assertInstanceOf('Fenom\Template', $tpl); return "+++ $code +++"; }); $this->fenom->addFilter(function ($text, $tpl) use ($punit) { - $this->assertInstanceOf('Fenom\Template', $tpl); + $punit->assertInstanceOf('Fenom\Template', $tpl); return "|--- $text ---|"; });