Merge "tests: Fix deprecation filter in ParserCacheSerializationTestCases"
This commit is contained in:
commit
5deb950bca
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue