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/WidgetsListTest.php')
-rw-r--r--tests/PHPUnit/Integration/WidgetsListTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/PHPUnit/Integration/WidgetsListTest.php b/tests/PHPUnit/Integration/WidgetsListTest.php
index 1cc5cae17c..5e643d1f81 100644
--- a/tests/PHPUnit/Integration/WidgetsListTest.php
+++ b/tests/PHPUnit/Integration/WidgetsListTest.php
@@ -10,7 +10,6 @@ namespace Piwik\Tests\Integration;
use Piwik\Widget\WidgetConfig;
use Piwik\Plugins\Goals\API;
-use Piwik\Translate;
use Piwik\Tests\Framework\Mock\FakeAccess;
use Piwik\Widget\WidgetsList;
use Piwik\Tests\Framework\Fixture;
@@ -152,7 +151,7 @@ class WidgetsListTest extends IntegrationTestCase
public function testIsDefined()
{
- Translate::loadAllTranslations();
+ Fixture::loadAllTranslations();
Fixture::createWebsite('2009-01-04 00:11:42', true);
@@ -169,7 +168,7 @@ class WidgetsListTest extends IntegrationTestCase
$this->assertTrue($list->isDefined('Actions', 'getPageUrls'));
$this->assertFalse($list->isDefined('Actions', 'inValiD'));
- Translate::reset();
+ Fixture::resetTranslations();
}
public function provideContainerConfig()