diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-02-20 15:44:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-20 15:44:10 +0300 |
commit | fa23dc76e4ed1ba729a45d51da76edf7c0202eec (patch) | |
tree | 5ae8bb1d47f953cac06b3963526b292abb903dd0 /plugins/GeoIp2 | |
parent | 361bc551294d313631a3c61e07ddf65b97e72041 (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/GeoIp2')
-rw-r--r-- | plugins/GeoIp2/tests/System/ConvertRegionCodesToIsoTest.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/GeoIp2/tests/System/ConvertRegionCodesToIsoTest.php b/plugins/GeoIp2/tests/System/ConvertRegionCodesToIsoTest.php index 06b0cc1d2f..abf144ec40 100644 --- a/plugins/GeoIp2/tests/System/ConvertRegionCodesToIsoTest.php +++ b/plugins/GeoIp2/tests/System/ConvertRegionCodesToIsoTest.php @@ -14,7 +14,6 @@ use Piwik\Plugins\UserCountry\LocationProvider; use Piwik\Plugins\GeoIp2\LocationProvider\GeoIp2; use Piwik\Tests\Framework\Fixture; use Piwik\Tests\Framework\TestCase\IntegrationTestCase; -use Piwik\Translate; use Symfony\Component\Console\Application; use Symfony\Component\Console\Tester\CommandTester; @@ -126,7 +125,7 @@ class ConvertRegionCodesToIsoTest extends IntegrationTestCase ); // we need to manually reload the translations since they get reset for some reason in IntegrationTestCase::tearDown(); - Translate::loadAllTranslations(); + Fixture::loadAllTranslations(); $this->assertApiResponseEqualsExpected("UserCountry.getRegion", $queryParams); $this->assertApiResponseEqualsExpected("UserCountry.getCountry", $queryParams); |