minor #25514 [FrameworkBundle] remove an unneeded failing legacy test (xabbuh)
This PR was merged into the 4.1-dev branch.
Discussion
----------
[FrameworkBundle] remove an unneeded failing legacy test
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
The removed test is not needed anymore as it is already covered by the
`testEnabledStrictEmailOptionIsMappedToStrictEmailValidationMode` and
`testDisabledStrictEmailOptionIsMappedToLooseEmailValidationMode` tests.
Commits
-------
4a62350
remove an unneeded failing legacy test
This commit is contained in:
commit
003236855c
@ -1,7 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
$container->loadFromExtension('framework', array(
|
|
||||||
'validation' => array(
|
|
||||||
'strict_email' => true,
|
|
||||||
),
|
|
||||||
));
|
|
@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" ?>
|
|
||||||
<container xmlns="http://symfony.com/schema/dic/services"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xmlns:framework="http://symfony.com/schema/dic/symfony"
|
|
||||||
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
|
|
||||||
http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
|
|
||||||
|
|
||||||
<framework:config>
|
|
||||||
<framework:validation strict-email="true" />
|
|
||||||
</framework:config>
|
|
||||||
</container>
|
|
@ -1,3 +0,0 @@
|
|||||||
framework:
|
|
||||||
validation:
|
|
||||||
strict_email: true
|
|
@ -758,13 +758,6 @@ abstract class FrameworkExtensionTest extends TestCase
|
|||||||
$this->assertSame('messages', $container->getParameter('validator.translation_domain'));
|
$this->assertSame('messages', $container->getParameter('validator.translation_domain'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testValidationStrictEmail()
|
|
||||||
{
|
|
||||||
$container = $this->createContainerFromFile('validation_strict_email');
|
|
||||||
|
|
||||||
$this->assertTrue($container->getDefinition('validator.email')->getArgument(0));
|
|
||||||
}
|
|
||||||
|
|
||||||
public function testValidationMapping()
|
public function testValidationMapping()
|
||||||
{
|
{
|
||||||
$container = $this->createContainerFromFile('validation_mapping');
|
$container = $this->createContainerFromFile('validation_mapping');
|
||||||
|
Reference in New Issue
Block a user