Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e936c0b

Browse filesBrowse files
committed
[PsrHttpMessageBridge] Don't skip JSON tests
1 parent 81cf26b commit e936c0b
Copy full SHA for e936c0b

File tree

1 file changed

+0
-12
lines changed
Filter options

1 file changed

+0
-12
lines changed

‎Tests/Factory/PsrHttpFactoryTest.php

Copy file name to clipboardExpand all lines: Tests/Factory/PsrHttpFactoryTest.php
-12Lines changed: 0 additions & 12 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.