Ignore CentralIdLookup::resetCache() in code coverage reports
authorKunal Mehta <legoktm@member.fsf.org>
Tue, 21 Aug 2018 07:18:50 +0000 (00:18 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Tue, 21 Aug 2018 07:18:50 +0000 (00:18 -0700)
Change-Id: I4c3603354b0aa9396f620b9894d384e676db7f95

includes/user/CentralIdLookup.php

index 2a86f4a..1d7f380 100644 (file)
@@ -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' ) ) {