Skip to content

Commit 91ff6f8

Browse files
committed
minor symfony#4329 ensure consistency with the note (greg0ire)
This PR was merged into the 2.3 branch. Discussion ---------- ensure consistency with the note The note explains that we are selecting form buttons, not forms. Confusion ensues if we say otherwise in the introductory sentence. Commits ------- 8a649a6 ensure consistency with the note
2 parents e5dbd49 + 8a649a6 commit 91ff6f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

book/testing.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,8 @@ and pass it a ``Link`` object::
612612
Forms
613613
~~~~~
614614

615-
Just like links, you select forms with the ``selectButton()`` method::
615+
Forms can be selected using their buttons, which can be selected with the
616+
``selectButton()`` method, just like links::
616617

617618
$buttonCrawlerNode = $crawler->selectButton('submit');
618619

0 commit comments

Comments
 (0)