From 19289f85e4f3a4f8e4bafa5d6447cf5dd4f62321 Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Wed, 29 Feb 2012 07:41:18 -0800 Subject: [PATCH] Rename MustacheCallTest Foo class so it can be run with other tests --- test/MustacheCallTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/MustacheCallTest.php b/test/MustacheCallTest.php index 48cd079..366d2c4 100644 --- a/test/MustacheCallTest.php +++ b/test/MustacheCallTest.php @@ -5,7 +5,7 @@ require_once '../Mustache.php'; class MustacheCallTest extends PHPUnit_Framework_TestCase { public function testCallEatsContext() { - $foo = new Foo(); + $foo = new ClassWithCall(); $foo->name = 'Bob'; $template = '{{# foo }}{{ label }}: {{ name }}{{/ foo }}'; @@ -16,7 +16,7 @@ class MustacheCallTest extends PHPUnit_Framework_TestCase { } } -class Foo { +class ClassWithCall { public $name; public function __call($method, $args) { return 'unknown value';