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/Columns/DimensionTest.php')
-rw-r--r--tests/PHPUnit/Integration/Columns/DimensionTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/PHPUnit/Integration/Columns/DimensionTest.php b/tests/PHPUnit/Integration/Columns/DimensionTest.php
index c18c9f66fc..6f3e64464c 100644
--- a/tests/PHPUnit/Integration/Columns/DimensionTest.php
+++ b/tests/PHPUnit/Integration/Columns/DimensionTest.php
@@ -19,7 +19,6 @@ use Piwik\Plugin\Dimension\VisitDimension;
use Piwik\Plugin\Manager;
use Piwik\Tests\Framework\Fixture;
use Piwik\Tests\Framework\TestCase\IntegrationTestCase;
-use Piwik\Translate;
class CustomDimensionTest extends Dimension
{
@@ -84,7 +83,7 @@ class ColumnDimensionTest extends IntegrationTestCase
{
parent::setUp();
- Translate::loadEnglishTranslation();
+ Fixture::loadAllTranslations();
Fixture::createWebsite('2014-04-05 01:02:03');
@@ -96,7 +95,7 @@ class ColumnDimensionTest extends IntegrationTestCase
public function tearDown()
{
- Translate::unloadEnglishTranslation();
+ Fixture::resetTranslations();
parent::tearDown();
}