[Form] Fixed fatal error in test

This commit is contained in:
Bernhard Schussek 2011-04-13 14:01:25 +02:00
parent 2a18be1c9f
commit 0b0535d30a

View File

@ -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);