Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PHPUnit/Unit/Metrics/FormatterTest.php')
-rw-r--r--tests/PHPUnit/Unit/Metrics/FormatterTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/PHPUnit/Unit/Metrics/FormatterTest.php b/tests/PHPUnit/Unit/Metrics/FormatterTest.php
index 30e6128a1a..adf5b5ab96 100644
--- a/tests/PHPUnit/Unit/Metrics/FormatterTest.php
+++ b/tests/PHPUnit/Unit/Metrics/FormatterTest.php
@@ -10,7 +10,7 @@ namespace Piwik\Tests\Unit\Metrics;
use Piwik\Container\StaticContainer;
use Piwik\Metrics\Formatter;
use Piwik\NumberFormatter;
-use Piwik\Translate;
+use Piwik\Tests\Framework\Fixture;
use Piwik\Plugins\SitesManager\API as SitesManagerAPI;
/**
@@ -52,13 +52,13 @@ class FormatterTest extends \PHPUnit\Framework\TestCase
$this->formatter = new Formatter();
- Translate::loadAllTranslations();
+ Fixture::loadAllTranslations();
$this->setSiteManagerApiMock();
}
public function tearDown()
{
- Translate::reset();
+ Fixture::resetTranslations();
NumberFormatter::getInstance()->clearCache();
$this->unsetSiteManagerApiMock();
}