Permalink
Browse files

fixed a unit test for PHPUnit 3.6

  • Loading branch information...
1 parent 6c6a44f commit 737c29a61300b7883f29a5140223a6e9940375f6 @fabpot committed Oct 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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));
}
/**

0 comments on commit 737c29a

Please sign in to comment.