File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff 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 ' ,
You can’t perform that action at this time.
0 commit comments