Skip to content

Commit

Permalink
Fix missing default httpClienId value for assertHttpClientRequestCoun…
Browse files Browse the repository at this point in the history
…t method
  • Loading branch information
welcoMattic committed Oct 2, 2023
1 parent ba7ab44 commit 0b67973
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function assertNotHttpClientRequest(string $unexpectedUrl, string $expect
self::assertFalse($unexpectedUrlHasBeenFound, sprintf('Unexpected URL called: "%s" - "%s"', $expectedMethod, $unexpectedUrl));
}

public static function assertHttpClientRequestCount(int $count, string $httpClientId): void
public static function assertHttpClientRequestCount(int $count, string $httpClientId = 'http_client'): void
{
/** @var KernelBrowser $client */
$client = static::getClient();
Expand Down

0 comments on commit 0b67973

Please sign in to comment.