From 4a623502d7db9cef94b6460b31174af320f5b169 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 15 Dec 2017 12:19:47 +0100 Subject: [PATCH] remove an unneeded failing legacy test The removed test is not needed anymore as it is already covered by the `testEnabledStrictEmailOptionIsMappedToStrictEmailValidationMode` and `testDisabledStrictEmailOptionIsMappedToLooseEmailValidationMode` tests. --- .../Fixtures/php/validation_strict_email.php | 7 ------- .../Fixtures/xml/validation_strict_email.xml | 11 ----------- .../Fixtures/yml/validation_strict_email.yml | 3 --- .../DependencyInjection/FrameworkExtensionTest.php | 7 ------- 4 files changed, 28 deletions(-) delete mode 100644 src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/validation_strict_email.php delete mode 100644 src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/xml/validation_strict_email.xml delete mode 100644 src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/yml/validation_strict_email.yml diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/validation_strict_email.php b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/validation_strict_email.php deleted file mode 100644 index 64a47a2322..0000000000 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/validation_strict_email.php +++ /dev/null @@ -1,7 +0,0 @@ -loadFromExtension('framework', array( - 'validation' => array( - 'strict_email' => true, - ), -)); diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/xml/validation_strict_email.xml b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/xml/validation_strict_email.xml deleted file mode 100644 index 5b4aba1b70..0000000000 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/xml/validation_strict_email.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/yml/validation_strict_email.yml b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/yml/validation_strict_email.yml deleted file mode 100644 index 1c805f9b92..0000000000 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/yml/validation_strict_email.yml +++ /dev/null @@ -1,3 +0,0 @@ -framework: - validation: - strict_email: true diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php index 16fb882cf9..7ae826734e 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php +++ b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php @@ -758,13 +758,6 @@ abstract class FrameworkExtensionTest extends TestCase $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() { $container = $this->createContainerFromFile('validation_mapping');