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:
authorStefan Giehl <stefan@matomo.org>2020-02-20 15:44:10 +0300
committerGitHub <noreply@github.com>2020-02-20 15:44:10 +0300
commitfa23dc76e4ed1ba729a45d51da76edf7c0202eec (patch)
tree5ae8bb1d47f953cac06b3963526b292abb903dd0 /plugins/Insights
parent361bc551294d313631a3c61e07ddf65b97e72041 (diff)
Removes deprecated class Piwik\Translate (#15586)
* Removes deprecated class Piwik\Translate * use submodule branches * adjust test * fix typo * readd deprecated Piwik\Translate * submodule updates
Diffstat (limited to 'plugins/Insights')
-rw-r--r--plugins/Insights/tests/Integration/ApiTest.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Insights/tests/Integration/ApiTest.php b/plugins/Insights/tests/Integration/ApiTest.php
index 5c3f616513..774a9e54c5 100644
--- a/plugins/Insights/tests/Integration/ApiTest.php
+++ b/plugins/Insights/tests/Integration/ApiTest.php
@@ -11,11 +11,10 @@ namespace Piwik\Plugins\Insights\tests\Integration;
use Piwik\API\Request as ApiRequest;
use Piwik\Cache as PiwikCache;
use Piwik\DataTable;
-use Piwik\DataTable\Row;
use Piwik\Plugins\Insights\API;
use Piwik\Plugins\Insights\tests\Fixtures\SomeVisitsDifferentPathsOnTwoDays;
+use Piwik\Tests\Framework\Fixture;
use Piwik\Tests\Framework\TestCase\SystemTestCase;
-use Piwik\Translate;
/**
* @group Insights
@@ -42,7 +41,7 @@ class ApiTest extends SystemTestCase
PiwikCache::flushAll();
- Translate::loadAllTranslations();
+ Fixture::loadAllTranslations();
$this->api = API::getInstance();
}
@@ -50,7 +49,7 @@ class ApiTest extends SystemTestCase
{
parent::tearDown();
- Translate::reset();
+ Fixture::resetTranslations();
}
/**