File tree 1 file changed +0
-12
lines changed
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -243,10 +243,6 @@ public function testUploadErrNoFile()
243
243
244
244
public function testJsonContent ()
245
245
{
246
- if (!method_exists (Request::class, 'getPayload ' )) {
247
- $ this ->markTestSkipped ();
248
- }
249
-
250
246
$ headers = [
251
247
'HTTP_HOST ' => 'http_host.fr ' ,
252
248
'CONTENT_TYPE ' => 'application/json ' ,
@@ -259,10 +255,6 @@ public function testJsonContent()
259
255
260
256
public function testEmptyJsonContent ()
261
257
{
262
- if (!method_exists (Request::class, 'getPayload ' )) {
263
- $ this ->markTestSkipped ();
264
- }
265
-
266
258
$ headers = [
267
259
'HTTP_HOST ' => 'http_host.fr ' ,
268
260
'CONTENT_TYPE ' => 'application/json ' ,
@@ -275,10 +267,6 @@ public function testEmptyJsonContent()
275
267
276
268
public function testWrongJsonContent ()
277
269
{
278
- if (!method_exists (Request::class, 'getPayload ' )) {
279
- $ this ->markTestSkipped ();
280
- }
281
-
282
270
$ headers = [
283
271
'HTTP_HOST ' => 'http_host.fr ' ,
284
272
'CONTENT_TYPE ' => 'application/json ' ,
You can’t perform that action at this time.
0 commit comments