From f5a31f5be0c23bb14a754032803aa226ce761411 Mon Sep 17 00:00:00 2001 From: Thiemo Kreuz Date: Tue, 19 Feb 2019 15:18:12 +0100 Subject: [PATCH] Remove comments literally documenting unit tests being unit tests The name of the test class and method as well as the @covers tags already explain well enough which code a test is testing. Repeating this does not provide additional information. Change-Id: Ieec4ec131e5925d11704a11e1df46bc00c9fad9b --- tests/phpunit/includes/DiffHistoryBlobTest.php | 1 - tests/phpunit/includes/FauxResponseTest.php | 2 -- tests/phpunit/includes/HtmlTest.php | 1 - tests/phpunit/includes/MultiHttpClientTest.php | 2 -- .../includes/htmlform/HTMLAutoCompleteSelectFieldTest.php | 2 -- tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php | 1 - tests/phpunit/includes/installer/OracleInstallerTest.php | 2 -- tests/phpunit/includes/libs/IEUrlExtensionTest.php | 3 --- tests/phpunit/includes/libs/ProcessCacheLRUTest.php | 2 -- tests/phpunit/includes/site/DBSiteStoreTest.php | 2 -- tests/phpunit/includes/site/MediaWikiSiteTest.php | 2 -- tests/phpunit/includes/site/SiteExporterTest.php | 2 -- tests/phpunit/includes/site/SiteImporterTest.php | 2 -- tests/phpunit/includes/site/SiteListTest.php | 2 -- tests/phpunit/includes/site/SiteTest.php | 2 -- tests/phpunit/maintenance/backupPrefetchTest.php | 2 -- 16 files changed, 30 deletions(-) diff --git a/tests/phpunit/includes/DiffHistoryBlobTest.php b/tests/phpunit/includes/DiffHistoryBlobTest.php index c267a30e05..b75862ea0c 100644 --- a/tests/phpunit/includes/DiffHistoryBlobTest.php +++ b/tests/phpunit/includes/DiffHistoryBlobTest.php @@ -15,7 +15,6 @@ class DiffHistoryBlobTest extends MediaWikiTestCase { } /** - * Test for DiffHistoryBlob::xdiffAdler32() * @dataProvider provideXdiffAdler32 * @covers DiffHistoryBlob::xdiffAdler32 */ diff --git a/tests/phpunit/includes/FauxResponseTest.php b/tests/phpunit/includes/FauxResponseTest.php index eac56fb841..8085bc710c 100644 --- a/tests/phpunit/includes/FauxResponseTest.php +++ b/tests/phpunit/includes/FauxResponseTest.php @@ -1,7 +1,5 @@