From: Fabien Potencier Date: Mon, 3 Oct 2011 21:08:58 +0000 (+0200) Subject: fixed a unit test for PHPUnit 3.6 X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=737c29a61300b7883f29a5140223a6e9940375f6;p=web%2Fkonrad%2Ftwig.git fixed a unit test for PHPUnit 3.6 --- diff --git a/test/Twig/Tests/ParserTest.php b/test/Twig/Tests/ParserTest.php index 577311d..2b3a058 100644 --- a/test/Twig/Tests/ParserTest.php +++ b/test/Twig/Tests/ParserTest.php @@ -16,7 +16,7 @@ class Twig_Tests_ParserTest extends PHPUnit_Framework_TestCase public function testSetMacroThrowsExceptionOnReservedMethods() { $parser = new Twig_Parser(new Twig_Environment()); - $parser->setMacro('display', $this->getMock('Twig_Node_Macro', null, array(), '', null)); + $parser->setMacro('display', $this->getMock('Twig_Node_Macro', array(), array(), '', null)); } /**