Skip to content

Commit c858eff

Browse files
[12.x] Add ddBody to http-tests.md (#10268)
* Add `ddBody` to http-tests.md * Update http-tests.md --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent 2fa3c52 commit c858eff

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

http-tests.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -305,18 +305,19 @@ class ExampleTest extends TestCase
305305
}
306306
```
307307

308-
Alternatively, you may use the `dd`, `ddHeaders`, `ddSession`, and `ddJson` methods to dump information about the response and then stop execution:
308+
Alternatively, you may use the `dd`, `ddHeaders`, `ddBody`, `ddJson`, and `ddSession` methods to dump information about the response and then stop execution:
309309

310310
```php tab=Pest
311311
<?php
312312

313313
test('basic test', function () {
314314
$response = $this->get('/');
315315

316+
$response->dd();
316317
$response->ddHeaders();
317-
$response->ddSession();
318+
$response->ddBody();
318319
$response->ddJson();
319-
$response->dd();
320+
$response->ddSession();
320321
});
321322
```
322323

0 commit comments

Comments
 (0)