Skip to content

Commit f1bdd98

Browse files
abdounikarimwouterj
authored andcommitted
Update testing.rst
1 parent 015b177 commit f1bdd98

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testing.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,8 @@ allows fetching both public and all non-removed private services::
549549

550550
// gives access to the same services used in your test, unless you're using
551551
// $client->insulate() or using real HTTP requests to test your application
552+
// don't forget to call self::bootKernel() before, otherwise, the container
553+
// will be empty
552554
$container = self::$container;
553555

554556
For a list of services available in your application, use the ``debug:container``

0 commit comments

Comments
 (0)