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/Contents | |
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/Contents')
-rw-r--r-- | plugins/Contents/tests/System/ContentsTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Contents/tests/System/ContentsTest.php b/plugins/Contents/tests/System/ContentsTest.php index 06061fe605..363463b4da 100644 --- a/plugins/Contents/tests/System/ContentsTest.php +++ b/plugins/Contents/tests/System/ContentsTest.php @@ -7,9 +7,9 @@ */ namespace Piwik\Plugins\Contents\tests\System; +use Piwik\Tests\Framework\Fixture; use Piwik\Tests\Framework\TestCase\SystemTestCase; use Piwik\Plugins\Contents\tests\Fixtures\TwoVisitsWithContents; -use Piwik\Translate; /** * Testing Contents @@ -48,13 +48,13 @@ class ContentsTest extends SystemTestCase protected function setup() { parent::setup(); - Translate::loadAllTranslations(); + Fixture::loadAllTranslations(); } protected function tearDown() { parent::tearDown(); - Translate::reset(); + Fixture::resetTranslations(); } public function getApiForTesting() |