diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-02-11 14:26:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 14:26:02 +0300 |
commit | cce28d09be27006a12654f5cc5aeff7927eb0618 (patch) | |
tree | e4911acc644acb146f5b730cfe5510dcb7b58fdb /plugins/LanguagesManager | |
parent | 5d2dab75e3654126ed95ea72b58b4c225ac59492 (diff) |
Use \PHPUnit\FrameWork\TestCase instead of \PHPUnit_Framework_TestCase (#15554)
Diffstat (limited to 'plugins/LanguagesManager')
9 files changed, 9 insertions, 9 deletions
diff --git a/plugins/LanguagesManager/tests/Integration/LanguagesManagerTest.php b/plugins/LanguagesManager/tests/Integration/LanguagesManagerTest.php index ce92f9e191..4fb839a3d1 100644 --- a/plugins/LanguagesManager/tests/Integration/LanguagesManagerTest.php +++ b/plugins/LanguagesManager/tests/Integration/LanguagesManagerTest.php @@ -25,7 +25,7 @@ use Piwik\Translate; /** * @group LanguagesManager */ -class LanguagesManagerTest extends \PHPUnit_Framework_TestCase +class LanguagesManagerTest extends \PHPUnit\Framework\TestCase { function getTestDataForLanguageFiles() { diff --git a/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/ByBaseTranslationsTest.php b/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/ByBaseTranslationsTest.php index a4a6f804a5..d32af6ae48 100644 --- a/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/ByBaseTranslationsTest.php +++ b/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/ByBaseTranslationsTest.php @@ -13,7 +13,7 @@ use Piwik\Plugins\LanguagesManager\TranslationWriter\Filter\ByBaseTranslations; /** * @group LanguagesManager */ -class ByBaseTranslationsTest extends \PHPUnit_Framework_TestCase +class ByBaseTranslationsTest extends \PHPUnit\Framework\TestCase { public function getFilterTestData() { diff --git a/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/ByParameterCountTest.php b/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/ByParameterCountTest.php index ae85217637..259fb4fe3f 100644 --- a/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/ByParameterCountTest.php +++ b/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/ByParameterCountTest.php @@ -13,7 +13,7 @@ use Piwik\Plugins\LanguagesManager\TranslationWriter\Filter\ByParameterCount; /** * @group LanguagesManager */ -class ByParameterCountTest extends \PHPUnit_Framework_TestCase +class ByParameterCountTest extends \PHPUnit\Framework\TestCase { public function getFilterTestData() { diff --git a/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/EmptyTranslationsTest.php b/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/EmptyTranslationsTest.php index 061dbd4094..3960e9fe7b 100644 --- a/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/EmptyTranslationsTest.php +++ b/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/EmptyTranslationsTest.php @@ -13,7 +13,7 @@ use Piwik\Plugins\LanguagesManager\TranslationWriter\Filter\EmptyTranslations; /** * @group LanguagesManager */ -class EmptyTranslationsTest extends \PHPUnit_Framework_TestCase +class EmptyTranslationsTest extends \PHPUnit\Framework\TestCase { public function getFilterTestData() { diff --git a/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/EncodedEntitiesTest.php b/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/EncodedEntitiesTest.php index 3fa14b4e40..7dc7104c58 100644 --- a/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/EncodedEntitiesTest.php +++ b/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/EncodedEntitiesTest.php @@ -13,7 +13,7 @@ use Piwik\Plugins\LanguagesManager\TranslationWriter\Filter\EncodedEntities; /** * @group LanguagesManager */ -class EncodedEntitiesTest extends \PHPUnit_Framework_TestCase +class EncodedEntitiesTest extends \PHPUnit\Framework\TestCase { public function getFilterTestData() { diff --git a/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/UnnecassaryWhitespacesTest.php b/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/UnnecassaryWhitespacesTest.php index c5a066fec7..5cac4bbb26 100644 --- a/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/UnnecassaryWhitespacesTest.php +++ b/plugins/LanguagesManager/tests/Unit/TranslationWriter/Filter/UnnecassaryWhitespacesTest.php @@ -13,7 +13,7 @@ use Piwik\Plugins\LanguagesManager\TranslationWriter\Filter\UnnecassaryWhitespac /** * @group LanguagesManager */ -class UnnecassaryWhitepsacesTest extends \PHPUnit_Framework_TestCase +class UnnecassaryWhitepsacesTest extends \PHPUnit\Framework\TestCase { public function getFilterTestData() { diff --git a/plugins/LanguagesManager/tests/Unit/TranslationWriter/Validate/CoreTranslationsTest.php b/plugins/LanguagesManager/tests/Unit/TranslationWriter/Validate/CoreTranslationsTest.php index 059ff299fd..8eecdee957 100644 --- a/plugins/LanguagesManager/tests/Unit/TranslationWriter/Validate/CoreTranslationsTest.php +++ b/plugins/LanguagesManager/tests/Unit/TranslationWriter/Validate/CoreTranslationsTest.php @@ -13,7 +13,7 @@ use Piwik\Plugins\LanguagesManager\TranslationWriter\Validate\CoreTranslations; /** * @group LanguagesManager */ -class CoreTranslationsTest extends \PHPUnit_Framework_TestCase +class CoreTranslationsTest extends \PHPUnit\Framework\TestCase { public function getFilterTestDataValid() { diff --git a/plugins/LanguagesManager/tests/Unit/TranslationWriter/Validate/NoScriptsTest.php b/plugins/LanguagesManager/tests/Unit/TranslationWriter/Validate/NoScriptsTest.php index 36bb439b96..eed906bbc6 100644 --- a/plugins/LanguagesManager/tests/Unit/TranslationWriter/Validate/NoScriptsTest.php +++ b/plugins/LanguagesManager/tests/Unit/TranslationWriter/Validate/NoScriptsTest.php @@ -13,7 +13,7 @@ use Piwik\Plugins\LanguagesManager\TranslationWriter\Validate\NoScripts; /** * @group LanguagesManager */ -class NoScriptsTest extends \PHPUnit_Framework_TestCase +class NoScriptsTest extends \PHPUnit\Framework\TestCase { public function getFilterTestDataValid() { diff --git a/plugins/LanguagesManager/tests/Unit/TranslationWriter/WriterTest.php b/plugins/LanguagesManager/tests/Unit/TranslationWriter/WriterTest.php index 331a783052..62fe32f417 100644 --- a/plugins/LanguagesManager/tests/Unit/TranslationWriter/WriterTest.php +++ b/plugins/LanguagesManager/tests/Unit/TranslationWriter/WriterTest.php @@ -19,7 +19,7 @@ use Piwik\Plugins\LanguagesManager\TranslationWriter\Writer; /** * @group LanguagesManager */ -class WriterTest extends \PHPUnit_Framework_TestCase +class WriterTest extends \PHPUnit\Framework\TestCase { /** * @group Core |