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/ComputedMetricTest.php')
-rw-r--r--tests/PHPUnit/Integration/Plugin/ComputedMetricTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/PHPUnit/Integration/Plugin/ComputedMetricTest.php b/tests/PHPUnit/Integration/Plugin/ComputedMetricTest.php
index 59862bc14f..0d79512d02 100644
--- a/tests/PHPUnit/Integration/Plugin/ComputedMetricTest.php
+++ b/tests/PHPUnit/Integration/Plugin/ComputedMetricTest.php
@@ -15,7 +15,6 @@ use Piwik\Plugin\ComputedMetric;
use Piwik\Site;
use Piwik\Tests\Framework\Fixture;
use Piwik\Tests\Framework\TestCase\IntegrationTestCase;
-use Piwik\Translate;
/**
* @group ComputedMetric
@@ -27,14 +26,14 @@ class ComputedMetricTest extends IntegrationTestCase
{
parent::setUp();
- Translate::loadEnglishTranslation();
+ Fixture::loadAllTranslations();
Fixture::createWebsite('2015-01-01 00:00:00');
}
public function tearDown()
{
- Translate::unloadEnglishTranslation();
+ Fixture::resetTranslations();
parent::tearDown();
}