mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-12-01 03:16:45 +00:00
Use namespaced quietCall
Change-Id: Ifcacc35721d5509c3bc1fe602587c0701af5201f
This commit is contained in:
parent
017fb7490b
commit
5d7bc99cae
|
@ -3,6 +3,7 @@
|
||||||
use MediaWiki\MediaWikiServices;
|
use MediaWiki\MediaWikiServices;
|
||||||
use MediaWiki\Revision\MutableRevisionRecord;
|
use MediaWiki\Revision\MutableRevisionRecord;
|
||||||
use MediaWiki\Revision\SlotRecord;
|
use MediaWiki\Revision\SlotRecord;
|
||||||
|
use Wikimedia\AtEase\AtEase;
|
||||||
use Wikimedia\CSS\Parser\Parser as CSSParser;
|
use Wikimedia\CSS\Parser\Parser as CSSParser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -209,7 +210,7 @@ class TemplateStylesHooksTest extends MediaWikiLangTestCase {
|
||||||
$popt2 = ParserOptions::newFromContext( RequestContext::getMain() );
|
$popt2 = ParserOptions::newFromContext( RequestContext::getMain() );
|
||||||
|
|
||||||
$popt3 = ParserOptions::newFromContext( RequestContext::getMain() );
|
$popt3 = ParserOptions::newFromContext( RequestContext::getMain() );
|
||||||
Wikimedia\quietCall( [ $popt3, 'setWrapOutputClass' ], false );
|
AtEase::quietCall( [ $popt3, 'setWrapOutputClass' ], false );
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'Tag without src' => [
|
'Tag without src' => [
|
||||||
|
|
Loading…
Reference in a new issue