From 0c9f059722dc59bddc0f9685fdb890fd9c59f6a9 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Tue, 21 Aug 2018 00:18:50 -0700 Subject: [PATCH] Ignore CentralIdLookup::resetCache() in code coverage reports Change-Id: I4c3603354b0aa9396f620b9894d384e676db7f95 --- includes/user/CentralIdLookup.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/user/CentralIdLookup.php b/includes/user/CentralIdLookup.php index 2a86f4a891..1d7f380822 100644 --- a/includes/user/CentralIdLookup.php +++ b/includes/user/CentralIdLookup.php @@ -67,6 +67,7 @@ abstract class CentralIdLookup implements IDBAccessObject { /** * Reset internal cache for unit testing + * @codeCoverageIgnore */ public static function resetCache() { if ( !defined( 'MW_PHPUNIT_TEST' ) ) { -- 2.20.1