mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-30 20:16:45 +00:00
Wrong stdClass class name generates warning
This commit is contained in:
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user