Browse Source

Rename MustacheCallTest Foo class so it can be run with other tests

Justin Hileman 13 years ago
parent
commit
19289f85e4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/MustacheCallTest.php

+ 2 - 2
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';