[Form] Fixed fatal error in test
This commit is contained in:
parent
2a18be1c9f
commit
0b0535d30a
@ -39,7 +39,7 @@ class TwigThemeFactoryTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
$template = $this->getMockBuilder('Twig_Template')
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
->getMockForAbstractClass();
|
||||
$theme = $this->factory->create($template);
|
||||
|
||||
$this->assertEquals(new TwigTheme($this->environment, $template), $theme);
|
||||
|
Reference in New Issue
Block a user