/** * @dataProvider requestProvider * @group integration */ public function testSendRequest($method, $uri, array $headers, $body) { if (null !== $body && !in_array($method, ['OPTIONS', 'POST', 'PUT'], true)) { static::markTestSkipped('cURL can not send body using ' . $method); return; } parent::testSendRequest($method, $uri, $headers, $body); }
/** * @dataProvider requestProvider * @group integration */ public function testSendRequest($method, $uri, array $headers, $body) { parent::testSendRequest($method, $uri, $headers, $body); }