From 3a5c137954134fc59a9f37c82d76ca8d65e597a2 Mon Sep 17 00:00:00 2001 From: Clement Herreman Date: Tue, 19 Nov 2019 17:37:15 +0100 Subject: [PATCH] Add note about .env.local being ignored in test environment --- configuration.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configuration.rst b/configuration.rst index 1254e074038..d6e6f8abb1f 100644 --- a/configuration.rst +++ b/configuration.rst @@ -627,6 +627,11 @@ the only mandatory file and each file content overrides the previous one: env vars overrides only for some environment. It's similar to ``.env.local``, but the overrides only apply to some particular environment. +.. note:: + + ``.env.local`` is always ignored in test environment. The logic is that + tests should always produce the same results for everyone. + .. note:: The real environment variables defined in the server always win over the