Skip to content

Commit 1376c28

Browse files
committed
minor symfony#9836 Minor tweak about enalbing the profiler in the tests (javiereguiluz)
This PR was merged into the 2.8 branch. Discussion ---------- Minor tweak about enalbing the profiler in the tests This fixes symfony#9583 and hopefully it's easier to understand now how it works. Commits ------- 0c53710 Minor tweak about enalbing the profiler in the tests
2 parents f252a3c + 0c53710 commit 1376c28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testing/profiling.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ the ``test`` environment)::
2121
{
2222
$client = static::createClient();
2323

24-
// enable the profiler for the next request
24+
// enable the profiler only for the next request (if you make
25+
// new requests, you must call to this method again)
2526
// (it does nothing if the profiler is not available)
2627
$client->enableProfiler();
2728

0 commit comments

Comments
 (0)