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/Formatter/HtmlTest.php')
-rw-r--r--tests/PHPUnit/Unit/Metrics/Formatter/HtmlTest.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/PHPUnit/Unit/Metrics/Formatter/HtmlTest.php b/tests/PHPUnit/Unit/Metrics/Formatter/HtmlTest.php
index d8bb35a856..387ea4bbd3 100644
--- a/tests/PHPUnit/Unit/Metrics/Formatter/HtmlTest.php
+++ b/tests/PHPUnit/Unit/Metrics/Formatter/HtmlTest.php
@@ -9,8 +9,7 @@ namespace Piwik\Tests\Unit\Metrics\Formatter;
use Piwik\Container\StaticContainer;
use Piwik\Metrics\Formatter\Html;
-use Piwik\NumberFormatter;
-use Piwik\Translate;
+use Piwik\Tests\Framework\Fixture;
use Piwik\Plugins\SitesManager\API as SitesManagerAPI;
/**
@@ -36,13 +35,13 @@ class HtmlTest extends \PHPUnit\Framework\TestCase
$this->formatter = new Html();
- Translate::loadAllTranslations();
+ Fixture::loadAllTranslations();
$this->setSiteManagerApiMock();
}
public function tearDown()
{
- Translate::reset();
+ Fixture::resetTranslations();
$this->unsetSiteManagerApiMock();
}