Wrong stdClass class name generates warning

This commit is contained in:
Christophe SAUVEUR
2017-04-16 09:31:12 +02:00
committed by Fabien Potencier
parent dc70f3e826
commit 38987c9349
@@ -18,7 +18,7 @@ class Twig_Tests_ContainerRuntimeLoaderTest extends PHPUnit_Framework_TestCase
{
$container = $this->getMockBuilder('Psr\Container\ContainerInterface')->getMock();
$container->expects($this->once())->method('has')->with('stdClass')->willReturn(true);
$container->expects($this->once())->method('get')->with('stdClass')->willReturn(new Stdclass());
$container->expects($this->once())->method('get')->with('stdClass')->willReturn(new stdClass());
$loader = new Twig_ContainerRuntimeLoader($container);