Skip to content

Commit 31bf04d

Browse files
committed
Restore the contents directive
1 parent a986b3b commit 31bf04d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

testing.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,10 @@ The full signature of the ``request()`` method is::
523523

524524
This allows you to create all types of requests you can think of:
525525

526+
.. contents::
527+
:local:
528+
:depth: 1
529+
526530
.. tip::
527531

528532
The test client is available as the ``test.client`` service in the
@@ -667,6 +671,10 @@ Interacting with the Response
667671
Like a real browser, the Client and Crawler objects can be used to interact
668672
with the page you're served:
669673

674+
.. contents::
675+
:local:
676+
:depth: 1
677+
670678
.. _testing-links:
671679

672680
Clicking on Links
@@ -807,6 +815,10 @@ check anything you want.
807815

808816
However, Symfony provides useful shortcut methods for the most common cases:
809817

818+
.. contents::
819+
:local:
820+
:depth: 1
821+
810822
.. versionadded:: 4.3
811823

812824
The shortcut methods for assertions using ``WebTestCase`` were introduced

0 commit comments

Comments
 (0)