Skip to content

Commit f718c5f

Browse files
committed
Minor tweaks
1 parent b331989 commit f718c5f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

testing.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,12 +1149,13 @@ HttpClient Assertions
11491149

11501150
.. tip::
11511151

1152-
For all following assertions, ``$client->enableProfiler()`` must be called before the code that will trigger HTTP request(s).
1152+
For all the following assertions, ``$client->enableProfiler()`` must be
1153+
called before the code that will trigger HTTP request(s).
11531154

11541155
``assertHttpClientRequest(string $expectedUrl, string $expectedMethod = 'GET', string|array $expectedBody = null, array $expectedHeaders = [], string $httpClientId = 'http_client')``
1155-
Asserts that the given URL has been called using, is specified,
1156+
Asserts that the given URL has been called using, if specified,
11561157
the given method body and headers. By default it will check on the HttpClient,
1157-
but a HttpClient id can be specified.
1158+
but you can also pass a specific HttpClient ID.
11581159
(It will succeed if the request has been called multiple times.)
11591160

11601161
``assertNotHttpClientRequest(string $unexpectedUrl, string $expectedMethod = 'GET', string $httpClientId = 'http_client')``
@@ -1163,7 +1164,8 @@ HttpClient Assertions
11631164

11641165
``assertHttpClientRequestCount(int $count, string $httpClientId = 'http_client')``
11651166
Asserts that the given number of requests has been made on the HttpClient.
1166-
By default it will check on the HttpClient, but a HttpClient id can be specified.
1167+
By default it will check on the HttpClient, but you can also pass a specific
1168+
HttpClient ID.
11671169

11681170
.. versionadded:: 6.4
11691171

0 commit comments

Comments
 (0)