Skip to content

Commit 8b6cd17

Browse files
ifdatticwouterj
authored andcommitted
Update testing.rst
| Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets |
1 parent 0d059ff commit 8b6cd17

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

book/testing.rst

+10-5
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,8 @@ narrow down your node selection by chaining the method calls::
558558
return false;
559559
}
560560
})
561-
->first();
561+
->first()
562+
;
562563

563564
.. tip::
564565

@@ -720,8 +721,10 @@ configuration option:
720721
<container xmlns="http://symfony.com/schema/dic/services"
721722
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
722723
xmlns:swiftmailer="http://symfony.com/schema/dic/swiftmailer"
723-
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
724-
http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd">
724+
xsi:schemaLocation="http://symfony.com/schema/dic/services
725+
http://symfony.com/schema/dic/services/services-1.0.xsd
726+
http://symfony.com/schema/dic/swiftmailer
727+
http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd">
725728
726729
<!-- ... -->
727730
<swiftmailer:config disable-delivery="true" />
@@ -784,8 +787,9 @@ machine only.
784787
the ``app/phpunit.xml`` file.
785788

786789
By default, only the tests from your own custom bundles stored in the standard
787-
directories ``src/*/*Bundle/Tests`` or ``src/*/Bundle/*Bundle/Tests`` are run
788-
by the ``phpunit`` command, as configured in the ``app/phpunit.xml.dist`` file:
790+
directories ``src/*/*Bundle/Tests``, ``src/*/Bundle/*Bundle/Tests``,
791+
``src/*Bundle/Tests`` are run by the ``phpunit`` command, as configured
792+
in the ``app/phpunit.xml.dist`` file:
789793

790794
.. code-block:: xml
791795
@@ -796,6 +800,7 @@ by the ``phpunit`` command, as configured in the ``app/phpunit.xml.dist`` file:
796800
<testsuite name="Project Test Suite">
797801
<directory>../src/*/*Bundle/Tests</directory>
798802
<directory>../src/*/Bundle/*Bundle/Tests</directory>
803+
<directory>../src/*Bundle/Tests</directory>
799804
</testsuite>
800805
</testsuites>
801806
<!-- ... -->

0 commit comments

Comments
 (0)