Skip to content

Commit

Permalink
~ fix test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
vantoozz committed Mar 6, 2021
1 parent 8d0e707 commit 73beb4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/Scrapers/FreeProxyListsScraperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function it_throws_an_exception_on_2nd_request_http_client_error(): void
public function get(string $uri): string
{
$this->timesCalled++;
if (0 === $this->timesCalled) {
if (1 === $this->timesCalled) {
return '<p>elite/123.html</p>';
}
throw new HttpClientException('error message');
Expand Down

0 comments on commit 73beb4b

Please sign in to comment.