diff options
Diffstat (limited to 'plugins/SitesManager/tests/Unit/APITest.php')
-rw-r--r-- | plugins/SitesManager/tests/Unit/APITest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SitesManager/tests/Unit/APITest.php b/plugins/SitesManager/tests/Unit/APITest.php index 30f6a3497d..564bc977ec 100644 --- a/plugins/SitesManager/tests/Unit/APITest.php +++ b/plugins/SitesManager/tests/Unit/APITest.php @@ -11,7 +11,7 @@ namespace Piwik\Plugins\SitesManager\tests\Unit; use Piwik\Container\StaticContainer; use Piwik\Plugins\SitesManager\API; use Piwik\SettingsServer; -use Piwik\Translate; +use Piwik\Tests\Framework\Fixture; /** * @group SitesManaager @@ -33,7 +33,7 @@ class APITest extends \PHPUnit\Framework\TestCase $this->markTestSkipped('timezones needs to be supported'); } - Translate::loadAllTranslations(); + Fixture::loadAllTranslations(); $this->api = API::getInstance(); } @@ -42,7 +42,7 @@ class APITest extends \PHPUnit\Framework\TestCase { parent::tearDown(); - Translate::reset(); + Fixture::resetTranslations(); } public function getTimezoneNameTestData() |