Skip to content

Commit

Permalink
Merge branch '1.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom committed Jun 2, 2017
2 parents 79686de + 6135235 commit 0111cdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/Twig/TwigYuiExtensionTest.php
Expand Up @@ -134,8 +134,8 @@ public function testConfig(array $modules, $filter, $expectedResult)
*/
protected function getEnvironmentMock()
{
$envMock = $this->getMock('Twig_Environment');
$functionMock = $this->getMock('Twig_Function');
$envMock = $this->getMockBuilder('Twig_Environment')->disableOriginalConstructor()->getMock();
$functionMock = $this->getMockBuilder('Twig_Function')->disableOriginalConstructor()->getMock();
$envMock->expects($this->any())->method('getFunction')->will($this->returnValue($functionMock));
$functionMock
->expects($this->any())
Expand Down

0 comments on commit 0111cdb

Please sign in to comment.