Skip to content

Commit dff5a7d

Browse files
minor #33005 [HttpClient] fix tests (nicolas-grekas)
This PR was merged into the 4.3 branch. Discussion ---------- [HttpClient] fix tests | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 3d6eb40 [HttpClient] fix tests
2 parents 4c80343 + 3d6eb40 commit dff5a7d

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Psr\Log\AbstractLogger;
1515
use Symfony\Component\HttpClient\CurlHttpClient;
1616
use Symfony\Contracts\HttpClient\HttpClientInterface;
17-
use Symfony\Contracts\HttpClient\Test\HttpClientTestCase;
1817

1918
/**
2019
* @requires extension curl
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Symfony package.
5+
*
6+
* (c) Fabien Potencier <fabien@symfony.com>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Symfony\Component\HttpClient\Tests;
13+
14+
use Symfony\Contracts\HttpClient\Test\HttpClientTestCase as BaseHttpClientTestCase;
15+
16+
abstract class HttpClientTestCase extends BaseHttpClientTestCase
17+
{
18+
public function testMaxDuration()
19+
{
20+
$this->markTestSkipped('Implemented as of version 4.4');
21+
}
22+
}

src/Symfony/Component/HttpClient/Tests/MockHttpClientTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use Symfony\Component\HttpClient\Response\MockResponse;
1818
use Symfony\Contracts\HttpClient\HttpClientInterface;
1919
use Symfony\Contracts\HttpClient\ResponseInterface;
20-
use Symfony\Contracts\HttpClient\Test\HttpClientTestCase;
2120

2221
class MockHttpClientTest extends HttpClientTestCase
2322
{

src/Symfony/Component/HttpClient/Tests/NativeHttpClientTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Symfony\Component\HttpClient\NativeHttpClient;
1515
use Symfony\Contracts\HttpClient\HttpClientInterface;
16-
use Symfony\Contracts\HttpClient\Test\HttpClientTestCase;
1716

1817
class NativeHttpClientTest extends HttpClientTestCase
1918
{

0 commit comments

Comments
 (0)