[HttpClient] remove useless code in test

This commit is contained in:
Nicolas Grekas 2020-02-11 15:05:45 +01:00
parent 5cf876f3ac
commit d41ea2a02e

View File

@ -786,8 +786,6 @@ abstract class HttpClientTestCase extends TestCase
{ {
$client = $this->getHttpClient(__FUNCTION__); $client = $this->getHttpClient(__FUNCTION__);
$start = microtime(true);
try { try {
$client->request('GET', 'http://localhost:8057/404'); $client->request('GET', 'http://localhost:8057/404');
$this->fail(ClientExceptionInterface::class.' expected'); $this->fail(ClientExceptionInterface::class.' expected');