public function RequestTest::testGetContentCantBeCalledTwiceWithResources in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/RequestTest.php \Symfony\Component\HttpFoundation\Tests\RequestTest::testGetContentCantBeCalledTwiceWithResources()
@expectedException \LogicException @dataProvider getContentCantBeCalledTwiceWithResourcesProvider
File
- vendor/
symfony/ http-foundation/ Tests/ RequestTest.php, line 996
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testGetContentCantBeCalledTwiceWithResources($first, $second) {
if (PHP_VERSION_ID >= 50600) {
$this
->markTestSkipped('PHP >= 5.6 allows to open php://input several times.');
}
$req = new Request();
$req
->getContent($first);
$req
->getContent($second);
}