[HttpClient] fix tests
This commit is contained in:
parent
4c8034309d
commit
3d6eb4075a
@ -14,7 +14,6 @@ namespace Symfony\Component\HttpClient\Tests;
|
|||||||
use Psr\Log\AbstractLogger;
|
use Psr\Log\AbstractLogger;
|
||||||
use Symfony\Component\HttpClient\CurlHttpClient;
|
use Symfony\Component\HttpClient\CurlHttpClient;
|
||||||
use Symfony\Contracts\HttpClient\HttpClientInterface;
|
use Symfony\Contracts\HttpClient\HttpClientInterface;
|
||||||
use Symfony\Contracts\HttpClient\Test\HttpClientTestCase;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @requires extension curl
|
* @requires extension curl
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of the Symfony package.
|
||||||
|
*
|
||||||
|
* (c) Fabien Potencier <fabien@symfony.com>
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace Symfony\Component\HttpClient\Tests;
|
||||||
|
|
||||||
|
use Symfony\Contracts\HttpClient\Test\HttpClientTestCase as BaseHttpClientTestCase;
|
||||||
|
|
||||||
|
abstract class HttpClientTestCase extends BaseHttpClientTestCase
|
||||||
|
{
|
||||||
|
public function testMaxDuration()
|
||||||
|
{
|
||||||
|
$this->markTestSkipped('Implemented as of version 4.4');
|
||||||
|
}
|
||||||
|
}
|
@ -17,7 +17,6 @@ use Symfony\Component\HttpClient\NativeHttpClient;
|
|||||||
use Symfony\Component\HttpClient\Response\MockResponse;
|
use Symfony\Component\HttpClient\Response\MockResponse;
|
||||||
use Symfony\Contracts\HttpClient\HttpClientInterface;
|
use Symfony\Contracts\HttpClient\HttpClientInterface;
|
||||||
use Symfony\Contracts\HttpClient\ResponseInterface;
|
use Symfony\Contracts\HttpClient\ResponseInterface;
|
||||||
use Symfony\Contracts\HttpClient\Test\HttpClientTestCase;
|
|
||||||
|
|
||||||
class MockHttpClientTest extends HttpClientTestCase
|
class MockHttpClientTest extends HttpClientTestCase
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\HttpClient\Tests;
|
|||||||
|
|
||||||
use Symfony\Component\HttpClient\NativeHttpClient;
|
use Symfony\Component\HttpClient\NativeHttpClient;
|
||||||
use Symfony\Contracts\HttpClient\HttpClientInterface;
|
use Symfony\Contracts\HttpClient\HttpClientInterface;
|
||||||
use Symfony\Contracts\HttpClient\Test\HttpClientTestCase;
|
|
||||||
|
|
||||||
class NativeHttpClientTest extends HttpClientTestCase
|
class NativeHttpClientTest extends HttpClientTestCase
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user