minor #13303 Removed unneeded version requirements (peterrehm)
This PR was merged into the 2.5 branch.
Discussion
----------
Removed unneeded version requirements
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? |
| Fixed tickets | -
| License | MIT
| Related | #12891
As @stof has requested.
Commits
-------
3716f4c
Removed unneeded version requirements
This commit is contained in:
commit
3e02ca23de
@ -100,10 +100,6 @@ class ResolvedFormTypeTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
public function testCreateBuilder()
|
public function testCreateBuilder()
|
||||||
{
|
{
|
||||||
if (version_compare(\PHPUnit_Runner_Version::id(), '3.7', '<')) {
|
|
||||||
$this->markTestSkipped('This test requires PHPUnit 3.7.');
|
|
||||||
}
|
|
||||||
|
|
||||||
$givenOptions = array('a' => 'a_custom', 'c' => 'c_custom');
|
$givenOptions = array('a' => 'a_custom', 'c' => 'c_custom');
|
||||||
$resolvedOptions = array('a' => 'a_custom', 'b' => 'b_default', 'c' => 'c_custom', 'd' => 'd_default');
|
$resolvedOptions = array('a' => 'a_custom', 'b' => 'b_default', 'c' => 'c_custom', 'd' => 'd_default');
|
||||||
$optionsResolver = $this->getMock('Symfony\Component\OptionsResolver\OptionsResolverInterface');
|
$optionsResolver = $this->getMock('Symfony\Component\OptionsResolver\OptionsResolverInterface');
|
||||||
@ -132,10 +128,6 @@ class ResolvedFormTypeTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
public function testCreateBuilderWithDataClassOption()
|
public function testCreateBuilderWithDataClassOption()
|
||||||
{
|
{
|
||||||
if (version_compare(\PHPUnit_Runner_Version::id(), '3.7', '<')) {
|
|
||||||
$this->markTestSkipped('This test requires PHPUnit 3.7.');
|
|
||||||
}
|
|
||||||
|
|
||||||
$givenOptions = array('data_class' => 'Foo');
|
$givenOptions = array('data_class' => 'Foo');
|
||||||
$resolvedOptions = array('data_class' => '\stdClass');
|
$resolvedOptions = array('data_class' => '\stdClass');
|
||||||
$optionsResolver = $this->getMock('Symfony\Component\OptionsResolver\OptionsResolverInterface');
|
$optionsResolver = $this->getMock('Symfony\Component\OptionsResolver\OptionsResolverInterface');
|
||||||
@ -164,10 +156,6 @@ class ResolvedFormTypeTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
public function testBuildForm()
|
public function testBuildForm()
|
||||||
{
|
{
|
||||||
if (version_compare(\PHPUnit_Runner_Version::id(), '3.7', '<')) {
|
|
||||||
$this->markTestSkipped('This test requires PHPUnit 3.7.');
|
|
||||||
}
|
|
||||||
|
|
||||||
$test = $this;
|
$test = $this;
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user