Skip to content

Commit 9a51f36

Browse files
authored
docs: parameter is $escape, not $escaped (#10287)
1 parent cdcd3ca commit 9a51f36

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

http-tests.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ $response->assertCreated();
11081108
Assert that the given string is not contained within the response returned by the application. This assertion will automatically escape the given string unless you pass a second argument of `false`:
11091109

11101110
```php
1111-
$response->assertDontSee($value, $escaped = true);
1111+
$response->assertDontSee($value, $escape = true);
11121112
```
11131113

11141114
<a name="assert-dont-see-text"></a>
@@ -1117,7 +1117,7 @@ $response->assertDontSee($value, $escaped = true);
11171117
Assert that the given string is not contained within the response text. This assertion will automatically escape the given string unless you pass a second argument of `false`. This method will pass the response content to the `strip_tags` PHP function before making the assertion:
11181118

11191119
```php
1120-
$response->assertDontSeeText($value, $escaped = true);
1120+
$response->assertDontSeeText($value, $escape = true);
11211121
```
11221122

11231123
<a name="assert-download"></a>
@@ -1577,7 +1577,7 @@ $response->assertRequestTimeout();
15771577
Assert that the given string is contained within the response. This assertion will automatically escape the given string unless you pass a second argument of `false`:
15781578

15791579
```php
1580-
$response->assertSee($value, $escaped = true);
1580+
$response->assertSee($value, $escape = true);
15811581
```
15821582

15831583
<a name="assert-see-in-order"></a>
@@ -1586,7 +1586,7 @@ $response->assertSee($value, $escaped = true);
15861586
Assert that the given strings are contained in order within the response. This assertion will automatically escape the given strings unless you pass a second argument of `false`:
15871587

15881588
```php
1589-
$response->assertSeeInOrder(array $values, $escaped = true);
1589+
$response->assertSeeInOrder(array $values, $escape = true);
15901590
```
15911591

15921592
<a name="assert-see-text"></a>
@@ -1595,7 +1595,7 @@ $response->assertSeeInOrder(array $values, $escaped = true);
15951595
Assert that the given string is contained within the response text. This assertion will automatically escape the given string unless you pass a second argument of `false`. The response content will be passed to the `strip_tags` PHP function before the assertion is made:
15961596

15971597
```php
1598-
$response->assertSeeText($value, $escaped = true);
1598+
$response->assertSeeText($value, $escape = true);
15991599
```
16001600

16011601
<a name="assert-see-text-in-order"></a>
@@ -1604,7 +1604,7 @@ $response->assertSeeText($value, $escaped = true);
16041604
Assert that the given strings are contained in order within the response text. This assertion will automatically escape the given strings unless you pass a second argument of `false`. The response content will be passed to the `strip_tags` PHP function before the assertion is made:
16051605

16061606
```php
1607-
$response->assertSeeTextInOrder(array $values, $escaped = true);
1607+
$response->assertSeeTextInOrder(array $values, $escape = true);
16081608
```
16091609

16101610
<a name="assert-server-error"></a>

0 commit comments

Comments
 (0)