Skip to content

Commit 0e35283

Browse files
committed
[HttpClient] Minor fixes
1 parent 13ec25b commit 0e35283

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Test/HttpClientTestCase.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ public function testResolve()
580580

581581
$response = null;
582582
$this->expectException(TransportExceptionInterface::class);
583-
$client->request('GET', 'http://symfony.com:8057/', ['timeout' => 3]);
583+
$client->request('GET', 'http://symfony.com:8057/', ['timeout' => 1]);
584584
}
585585

586586
public function testTimeoutOnAccess()
@@ -643,7 +643,6 @@ public function testDestruct()
643643
{
644644
$client = $this->getHttpClient(__FUNCTION__);
645645

646-
$downloaded = 0;
647646
$start = microtime(true);
648647
$client->request('GET', 'http://localhost:8057/timeout-long');
649648
$client = null;

0 commit comments

Comments
 (0)