Merge "tests: Fix deprecation filter in ParserCacheSerializationTestCases"

This commit is contained in:
jenkins-bot 2024-01-26 17:49:31 +00:00 committed by Gerrit Code Review
commit 5deb950bca

View file

@ -173,7 +173,7 @@ abstract class ParserCacheSerializationTestCases {
* @return array[]
*/
public static function getParserOutputTestCases() {
MWDebug::filterDeprecationForTest( '/Use of ParserOutput::setTOCHTML/' );
MWDebug::filterDeprecationForTest( '/Use of MediaWiki\Parser\ParserOutput::setTOCHTML/' );
$parserOutputWithCacheTimeProps = new ParserOutput( 'CacheTime' );
$parserOutputWithCacheTimeProps->setCacheTime( self::CACHE_TIME );
$parserOutputWithCacheTimeProps->updateCacheExpiry( 10 );