Skip to content

Commit 100c20e

Browse files
[11.x] update docs to include ddJson() (#10178)
* updated docs with `ddJson()` * Update http-tests.md --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent 5ee038d commit 100c20e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

http-tests.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class ExampleTest extends TestCase
303303
}
304304
```
305305

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

308308
```php tab=Pest
309309
<?php
@@ -312,9 +312,8 @@ test('basic test', function () {
312312
$response = $this->get('/');
313313

314314
$response->ddHeaders();
315-
316315
$response->ddSession();
317-
316+
$response->ddJson();
318317
$response->dd();
319318
});
320319
```

0 commit comments

Comments
 (0)