Umherirrender has uploaded a new change for review. https://gerrit.wikimedia.org/r/97347
Change subject: Remove underscore from classes in phpunit tests ...................................................................... Remove underscore from classes in phpunit tests phpunit does not depend on the name, so it is easy to rename Change-Id: I04fce62e0e62a326280996c7149e3fcb21af00be --- R tests/phpunit/includes/RevisionStorageContentHandlerUseDBTest.php R tests/phpunit/includes/WikiPageContentHandlerUseDBTest.php R tests/phpunit/languages/LanguageBeTaraskTest.php 3 files changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/47/97347/1 diff --git a/tests/phpunit/includes/RevisionStorageTest_ContentHandlerUseDB.php b/tests/phpunit/includes/RevisionStorageContentHandlerUseDBTest.php similarity index 97% rename from tests/phpunit/includes/RevisionStorageTest_ContentHandlerUseDB.php rename to tests/phpunit/includes/RevisionStorageContentHandlerUseDBTest.php index f830e36..988efcb 100644 --- a/tests/phpunit/includes/RevisionStorageTest_ContentHandlerUseDB.php +++ b/tests/phpunit/includes/RevisionStorageContentHandlerUseDBTest.php @@ -5,7 +5,7 @@ * @group Database * ^--- important, causes temporary tables to be used instead of the real database */ -class RevisionTest_ContentHandlerUseDB extends RevisionStorageTest { +class RevisionContentHandlerUseDBTest extends RevisionStorageTest { protected function setUp() { $this->setMwGlobals( 'wgContentHandlerUseDB', false ); diff --git a/tests/phpunit/includes/WikiPageTest_ContentHandlerUseDB.php b/tests/phpunit/includes/WikiPageContentHandlerUseDBTest.php similarity index 96% rename from tests/phpunit/includes/WikiPageTest_ContentHandlerUseDB.php rename to tests/phpunit/includes/WikiPageContentHandlerUseDBTest.php index 2a723e8..a543ffa 100644 --- a/tests/phpunit/includes/WikiPageTest_ContentHandlerUseDB.php +++ b/tests/phpunit/includes/WikiPageContentHandlerUseDBTest.php @@ -5,7 +5,7 @@ * @group Database * ^--- important, causes temporary tables to be used instead of the real database */ -class WikiPageTest_ContentHandlerUseDB extends WikiPageTest { +class WikiPageContentHandlerUseDBTest extends WikiPageTest { protected function setUp() { parent::setUp(); diff --git a/tests/phpunit/languages/LanguageBe_taraskTest.php b/tests/phpunit/languages/LanguageBeTaraskTest.php similarity index 97% rename from tests/phpunit/languages/LanguageBe_taraskTest.php rename to tests/phpunit/languages/LanguageBeTaraskTest.php index d5822f4..73849b0 100644 --- a/tests/phpunit/languages/LanguageBe_taraskTest.php +++ b/tests/phpunit/languages/LanguageBeTaraskTest.php @@ -1,6 +1,6 @@ <?php -class LanguageBe_taraskTest extends LanguageClassesTestCase { +class LanguageBeTaraskTest extends LanguageClassesTestCase { /** * Make sure the language code we are given is indeed * be-tarask. This is to ensure LanguageClassesTestCase -- To view, visit https://gerrit.wikimedia.org/r/97347 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I04fce62e0e62a326280996c7149e3fcb21af00be Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits