From 5d7bc99cae42024b6cec6d2c223240c4fbd8dac2 Mon Sep 17 00:00:00 2001 From: Reedy Date: Thu, 24 Feb 2022 20:29:18 +0000 Subject: [PATCH] Use namespaced quietCall Change-Id: Ifcacc35721d5509c3bc1fe602587c0701af5201f --- tests/phpunit/TemplateStylesHooksTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/TemplateStylesHooksTest.php b/tests/phpunit/TemplateStylesHooksTest.php index e114d88..f5503c9 100644 --- a/tests/phpunit/TemplateStylesHooksTest.php +++ b/tests/phpunit/TemplateStylesHooksTest.php @@ -3,6 +3,7 @@ use MediaWiki\MediaWikiServices; use MediaWiki\Revision\MutableRevisionRecord; use MediaWiki\Revision\SlotRecord; +use Wikimedia\AtEase\AtEase; use Wikimedia\CSS\Parser\Parser as CSSParser; /** @@ -209,7 +210,7 @@ class TemplateStylesHooksTest extends MediaWikiLangTestCase { $popt2 = ParserOptions::newFromContext( RequestContext::getMain() ); $popt3 = ParserOptions::newFromContext( RequestContext::getMain() ); - Wikimedia\quietCall( [ $popt3, 'setWrapOutputClass' ], false ); + AtEase::quietCall( [ $popt3, 'setWrapOutputClass' ], false ); return [ 'Tag without src' => [