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

Lines changed: 10 additions & 5 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy