From fe291eaf10001aac67351d7f9f622c3f96484852 Mon Sep 17 00:00:00 2001 From: Matthieu Napoli <matthieu@mnapoli.fr> Date: Mon, 2 Feb 2015 16:24:51 +1300 Subject: [PATCH] Fixing tests --- core/Period/Range.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/Period/Range.php b/core/Period/Range.php index 588cabe05d..5e640d7324 100644 --- a/core/Period/Range.php +++ b/core/Period/Range.php @@ -10,6 +10,7 @@ namespace Piwik\Period; use Exception; use Piwik\Common; +use Piwik\Container\StaticContainer; use Piwik\Date; use Piwik\Period; use Piwik\Piwik; @@ -54,6 +55,8 @@ class Range extends Period } $this->today = $today; + + $this->translator = StaticContainer::get('Piwik\Translation\Translator'); } /** -- GitLab