8000 Merge branch '2.8' into 3.4 · symfony/symfony-docs@abc6007 · GitHub
[go: up one dir, main page]

Skip to content

Commit abc6007

Browse files
committed
Merge branch '2.8' into 3.4
* 2.8: [#9413] some minor tweaks Ask users to create two commits for reproducers
2 parents c123a45 + 9a74af4 commit abc6007

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

contributing/code/reproducer.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ edition. To do so:
4242
``git clone git://github.com/YOUR-GITHUB-USERNAME/symfony-standard.git``
4343
#. Browse the project and create a new branch (e.g. ``issue_23567``,
4444
``reproduce_23657``, etc.)
45+
#. Add and commit the changes generated by Symfony.
4546
#. Now you must add the minimum amount of code to reproduce the bug. This is the
4647
trickiest part and it's explained a bit more later.
47-
#. Add, commit and push all your changes.
48+
#. Add, commit and push all your own changes.
4849
#. Add a comment in your original issue report to share the URL of your forked
4950
project (e.g. ``https://github.com/YOUR-GITHUB-USERNAME/symfony-standard/tree/issue_23567``)
5051
and, if necessary, explain the steps to reproduce (e.g. "browse this URL",

form/unit_testing.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ The simplest ``TypeTestCase`` implementation looks like the following::
5757
// submit the data to the form directly
5858
$form->submit($formData);
5959

60-
$objectToCompare = $form->getData();
6160
$this->assertTrue($form->isSynchronized());
61+
62+
// check that $objectToCompare was modified as expected when the form was submitted
6263
$this->assertEquals($object, $objectToCompare);
6364

6465
$view = $form->createView();

0 commit comments

Comments
 (0)
0