From 772d54a5e43724df9607c9fe90b054eb909484fd Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Thu, 26 Feb 2015 10:25:36 +0000 Subject: [PATCH] [Form] Silence a legacy test. --- src/Symfony/Component/Form/Tests/SimpleFormTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/Form/Tests/SimpleFormTest.php b/src/Symfony/Component/Form/Tests/SimpleFormTest.php index 4d5fb22808ada..6663fc4f20286 100644 --- a/src/Symfony/Component/Form/Tests/SimpleFormTest.php +++ b/src/Symfony/Component/Form/Tests/SimpleFormTest.php @@ -119,8 +119,10 @@ public function testDataIsInitializedFromSubmit() } // https://github.com/symfony/symfony/pull/7789 - public function testFalseIsConvertedToNull() + public function testLegacyFalseIsConvertedToNull() { + $this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED); + $mock = $this->getMockBuilder('\stdClass') ->setMethods(array('preSubmit')) ->getMock();