diff options
Diffstat (limited to 'plugins/Marketplace/tests/Integration/Plugins/InvalidLicensesTest.php')
-rw-r--r-- | plugins/Marketplace/tests/Integration/Plugins/InvalidLicensesTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Marketplace/tests/Integration/Plugins/InvalidLicensesTest.php b/plugins/Marketplace/tests/Integration/Plugins/InvalidLicensesTest.php index 1d3203548b..1508ba67eb 100644 --- a/plugins/Marketplace/tests/Integration/Plugins/InvalidLicensesTest.php +++ b/plugins/Marketplace/tests/Integration/Plugins/InvalidLicensesTest.php @@ -14,9 +14,9 @@ use Piwik\Container\StaticContainer; use Piwik\Plugins\Marketplace\Consumer; use Piwik\Plugins\Marketplace\Plugins; use Piwik\Plugins\Marketplace\Plugins\InvalidLicenses; +use Piwik\Tests\Framework\Fixture; use Piwik\Tests\Framework\TestCase\IntegrationTestCase; use Piwik\Plugins\Marketplace\tests\Framework\Mock\Consumer as ConsumerBuilder; -use Piwik\Translate; class CustomInvalidLicenses extends InvalidLicenses { private $isActivated = true; @@ -51,14 +51,14 @@ class InvalidLicensesTest extends IntegrationTestCase { parent::setUp(); - Translate::loadEnglishTranslation(); + Fixture::loadAllTranslations(); $this->cache = new Eager(new ArrayCache(), 'test'); } public function tearDown() { - Translate::unloadEnglishTranslation(); + Fixture::resetTranslations(); parent::tearDown(); } |