From e6a6c33bf2df1fb1e89cf4084ff2babdaedf7022 Mon Sep 17 00:00:00 2001 From: Alexis Lefebvre Date: Mon, 11 Jan 2021 16:27:20 +0100 Subject: [PATCH] Add warning about removed services --- testing.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testing.rst b/testing.rst index 8c9550f64ca..36646e7d407 100644 --- a/testing.rst +++ b/testing.rst @@ -590,6 +590,12 @@ container is a service that can be get via the normal container:: // ... } +.. caution:: + + The special container ``test.service_container`` doesn't give access + to the services that have been removed. In this case, you'll have + to declare the services you need as public. + .. tip:: If the information you need to check is available from the profiler, use