From d6a85d5d4a03fe680a337e105204f4333b240cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 11 Jun 2021 08:55:49 +0200 Subject: [PATCH] Set period in context for testing reporting PostgreSQL DATE_TRUNC return NULL when text is NULL issue10397 --- tests/scenario_commission.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scenario_commission.rst b/tests/scenario_commission.rst index 320a84ddcc..8cf78e477c 100644 --- a/tests/scenario_commission.rst +++ b/tests/scenario_commission.rst @@ -230,7 +230,7 @@ Credit invoice:: Check commission reporting per agent:: - >>> with config.set_context(type='out'): + >>> with config.set_context(type='out', period='day'): ... reporting_agent, = ReportingAgent.find([]) ... reporting_agent_timeseries, = ReportingAgentTimeseries.find([])