From 737c29a61300b7883f29a5140223a6e9940375f6 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 3 Oct 2011 23:08:58 +0200 Subject: [PATCH] fixed a unit test for PHPUnit 3.6 --- test/Twig/Tests/ParserTest.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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)); } /** -- 1.7.2.5