skip updated ChoiceType tests on older versions
This commit is contained in:
parent
c7a09dcae6
commit
3304e57233
@ -31,7 +31,7 @@ class FormExtensionDivLayoutTest extends AbstractDivLayoutTest
|
||||
*/
|
||||
private $renderer;
|
||||
|
||||
protected static $supportedFeatureSetVersion = 403;
|
||||
protected static $supportedFeatureSetVersion = 404;
|
||||
|
||||
protected function setUp()
|
||||
{
|
||||
|
@ -30,7 +30,7 @@ class FormExtensionTableLayoutTest extends AbstractTableLayoutTest
|
||||
*/
|
||||
private $renderer;
|
||||
|
||||
protected static $supportedFeatureSetVersion = 403;
|
||||
protected static $supportedFeatureSetVersion = 404;
|
||||
|
||||
protected function setUp()
|
||||
{
|
||||
|
@ -30,7 +30,7 @@ class FormHelperDivLayoutTest extends AbstractDivLayoutTest
|
||||
*/
|
||||
protected $engine;
|
||||
|
||||
protected static $supportedFeatureSetVersion = 403;
|
||||
protected static $supportedFeatureSetVersion = 404;
|
||||
|
||||
protected function getExtensions()
|
||||
{
|
||||
|
@ -30,7 +30,7 @@ class FormHelperTableLayoutTest extends AbstractTableLayoutTest
|
||||
*/
|
||||
protected $engine;
|
||||
|
||||
protected static $supportedFeatureSetVersion = 403;
|
||||
protected static $supportedFeatureSetVersion = 404;
|
||||
|
||||
public function testStartTagHasNoActionAttributeWhenActionIsEmpty()
|
||||
{
|
||||
|
@ -726,6 +726,8 @@ abstract class AbstractLayoutTest extends FormIntegrationTestCase
|
||||
|
||||
public function testSingleChoiceWithPreferred()
|
||||
{
|
||||
$this->requiresFeatureSet(404);
|
||||
|
||||
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', [
|
||||
'choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'],
|
||||
'preferred_choices' => ['&b'],
|
||||
@ -750,6 +752,8 @@ abstract class AbstractLayoutTest extends FormIntegrationTestCase
|
||||
|
||||
public function testSingleChoiceWithPreferredAndNoSeparator()
|
||||
{
|
||||
$this->requiresFeatureSet(404);
|
||||
|
||||
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', [
|
||||
'choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'],
|
||||
'preferred_choices' => ['&b'],
|
||||
@ -773,6 +777,8 @@ abstract class AbstractLayoutTest extends FormIntegrationTestCase
|
||||
|
||||
public function testSingleChoiceWithPreferredAndBlankSeparator()
|
||||
{
|
||||
$this->requiresFeatureSet(404);
|
||||
|
||||
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', [
|
||||
'choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'],
|
||||
'preferred_choices' => ['&b'],
|
||||
@ -797,6 +803,8 @@ abstract class AbstractLayoutTest extends FormIntegrationTestCase
|
||||
|
||||
public function testChoiceWithOnlyPreferred()
|
||||
{
|
||||
$this->requiresFeatureSet(404);
|
||||
|
||||
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\ChoiceType', '&a', [
|
||||
'choices' => ['Choice&A' => '&a', 'Choice&B' => '&b'],
|
||||
'preferred_choices' => ['&a', '&b'],
|
||||
|
Reference in New Issue
Block a user