Skip to content

Commit e936c0b

Browse files
committed
[PsrHttpMessageBridge] Don't skip JSON tests
1 parent 81cf26b commit e936c0b

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Tests/Factory/PsrHttpFactoryTest.php

-12
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,6 @@ public function testUploadErrNoFile()
243243

244244
public function testJsonContent()
245245
{
246-
if (!method_exists(Request::class, 'getPayload')) {
247-
$this->markTestSkipped();
248-
}
249-
250246
$headers = [
251247
'HTTP_HOST' => 'http_host.fr',
252248
'CONTENT_TYPE' => 'application/json',
@@ -259,10 +255,6 @@ public function testJsonContent()
259255

260256
public function testEmptyJsonContent()
261257
{
262-
if (!method_exists(Request::class, 'getPayload')) {
263-
$this->markTestSkipped();
264-
}
265-
266258
$headers = [
267259
'HTTP_HOST' => 'http_host.fr',
268260
'CONTENT_TYPE' => 'application/json',
@@ -275,10 +267,6 @@ public function testEmptyJsonContent()
275267

276268
public function testWrongJsonContent()
277269
{
278-
if (!method_exists(Request::class, 'getPayload')) {
279-
$this->markTestSkipped();
280-
}
281-
282270
$headers = [
283271
'HTTP_HOST' => 'http_host.fr',
284272
'CONTENT_TYPE' => 'application/json',

0 commit comments

Comments
 (0)