From 58fcb8d51531a4250e981c693e8856e2629edfa6 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 5 Feb 2015 10:45:43 +0100 Subject: [PATCH] Revert "minor #12652 [HttpFoundation] [Hackday] #9942 test: Request::getContent() for null value (skler)" This reverts commit 09225c7466e5da18990b808d82f1a635ed2f2341, reversing changes made to a0298331ad7196f2fb2c600ba7b81654f1913fc6. --- src/Symfony/Component/HttpFoundation/Tests/RequestTest.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Symfony/Component/HttpFoundation/Tests/RequestTest.php b/src/Symfony/Component/HttpFoundation/Tests/RequestTest.php index a8e59fd6d6..3952f6712e 100644 --- a/src/Symfony/Component/HttpFoundation/Tests/RequestTest.php +++ b/src/Symfony/Component/HttpFoundation/Tests/RequestTest.php @@ -921,13 +921,6 @@ class RequestTest extends \PHPUnit_Framework_TestCase $this->assertTrue(feof($retval)); } - public function testEmptyStringContentReturns() - { - $req = Request::create('test'); - - $this->assertEquals('', $req->getContent()); - } - /** * @expectedException \LogicException * @dataProvider getContentCantBeCalledTwiceWithResourcesProvider