Fix test compatibility with 4.x components
This commit is contained in:
parent
e95b8a3291
commit
bb3cb64e64
|
@ -33,10 +33,11 @@ class FormExtensionBootstrap3HorizontalLayoutTest extends AbstractBootstrap3Hori
|
|||
*/
|
||||
private $renderer;
|
||||
|
||||
protected function setUp()
|
||||
/**
|
||||
* @before
|
||||
*/
|
||||
public function doSetUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$loader = new StubFilesystemLoader([
|
||||
__DIR__.'/../../Resources/views/Form',
|
||||
__DIR__.'/Fixtures/templates/form',
|
||||
|
|
|
@ -29,10 +29,11 @@ class FormExtensionBootstrap3LayoutTest extends AbstractBootstrap3LayoutTest
|
|||
*/
|
||||
private $renderer;
|
||||
|
||||
protected function setUp()
|
||||
/**
|
||||
* @before
|
||||
*/
|
||||
public function doSetUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$loader = new StubFilesystemLoader([
|
||||
__DIR__.'/../../Resources/views/Form',
|
||||
__DIR__.'/Fixtures/templates/form',
|
||||
|
|
|
@ -35,10 +35,11 @@ class FormExtensionBootstrap4HorizontalLayoutTest extends AbstractBootstrap4Hori
|
|||
|
||||
private $renderer;
|
||||
|
||||
protected function setUp()
|
||||
/**
|
||||
* @before
|
||||
*/
|
||||
public function doSetUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$loader = new StubFilesystemLoader([
|
||||
__DIR__.'/../../Resources/views/Form',
|
||||
__DIR__.'/Fixtures/templates/form',
|
||||
|
|
|
@ -33,10 +33,11 @@ class FormExtensionBootstrap4LayoutTest extends AbstractBootstrap4LayoutTest
|
|||
*/
|
||||
private $renderer;
|
||||
|
||||
protected function setUp()
|
||||
/**
|
||||
* @before
|
||||
*/
|
||||
public function doSetUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$loader = new StubFilesystemLoader([
|
||||
__DIR__.'/../../Resources/views/Form',
|
||||
__DIR__.'/Fixtures/templates/form',
|
||||
|
|
|
@ -33,10 +33,11 @@ class FormExtensionDivLayoutTest extends AbstractDivLayoutTest
|
|||
|
||||
protected static $supportedFeatureSetVersion = 304;
|
||||
|
||||
protected function setUp()
|
||||
/**
|
||||
* @before
|
||||
*/
|
||||
public function doSetUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$loader = new StubFilesystemLoader([
|
||||
__DIR__.'/../../Resources/views/Form',
|
||||
__DIR__.'/Fixtures/templates/form',
|
||||
|
|
|
@ -32,10 +32,11 @@ class FormExtensionTableLayoutTest extends AbstractTableLayoutTest
|
|||
|
||||
protected static $supportedFeatureSetVersion = 304;
|
||||
|
||||
protected function setUp()
|
||||
/**
|
||||
* @before
|
||||
*/
|
||||
public function doSetUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$loader = new StubFilesystemLoader([
|
||||
__DIR__.'/../../Resources/views/Form',
|
||||
__DIR__.'/Fixtures/templates/form',
|
||||
|
|
|
@ -52,11 +52,12 @@ class FormHelperDivLayoutTest extends AbstractDivLayoutTest
|
|||
]);
|
||||
}
|
||||
|
||||
protected function tearDown()
|
||||
/**
|
||||
* @after
|
||||
*/
|
||||
public function doTearDown()
|
||||
{
|
||||
$this->engine = null;
|
||||
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
public function testStartTagHasNoActionAttributeWhenActionIsEmpty()
|
||||
|
|
|
@ -77,11 +77,12 @@ class FormHelperTableLayoutTest extends AbstractTableLayoutTest
|
|||
]);
|
||||
}
|
||||
|
||||
protected function tearDown()
|
||||
/**
|
||||
* @after
|
||||
*/
|
||||
public function doTearDown()
|
||||
{
|
||||
$this->engine = null;
|
||||
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
protected function renderForm(FormView $view, array $vars = [])
|
||||
|
|
Reference in New Issue