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/Integration/Plugin/ArchivedMetricTest.php')
-rw-r--r--tests/PHPUnit/Integration/Plugin/ArchivedMetricTest.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/PHPUnit/Integration/Plugin/ArchivedMetricTest.php b/tests/PHPUnit/Integration/Plugin/ArchivedMetricTest.php
index 179419dd50..570a56bcaa 100644
--- a/tests/PHPUnit/Integration/Plugin/ArchivedMetricTest.php
+++ b/tests/PHPUnit/Integration/Plugin/ArchivedMetricTest.php
@@ -12,13 +12,10 @@ use Piwik\Columns\Dimension;
use Piwik\DataTable;
use Piwik\Metrics\Formatter;
use Piwik\Plugin\ArchivedMetric;
-use Piwik\Plugin\ComputedMetric;
-use Piwik\Plugins\UserCountry\Columns\City;
use Piwik\Plugins\UserCountry\Columns\Country;
use Piwik\Site;
use Piwik\Tests\Framework\Fixture;
use Piwik\Tests\Framework\TestCase\IntegrationTestCase;
-use Piwik\Translate;
/**
* @group ArchivedMetric
@@ -40,7 +37,7 @@ class ArchivedMetricTest extends IntegrationTestCase
{
parent::setUp();
- Translate::loadEnglishTranslation();
+ Fixture::loadAllTranslations();
Fixture::createWebsite('2015-01-01 00:00:00');
@@ -50,7 +47,7 @@ class ArchivedMetricTest extends IntegrationTestCase
public function tearDown()
{
- Translate::unloadEnglishTranslation();
+ Fixture::resetTranslations();
parent::tearDown();
}