Use the proper `MediaWikiTextCase::hideDeprecated()` method.
Bug: T191960
Change-Id: I974618a0bd1e11434d167820d119dcfd6e47b092
/**
* Test the actual behavior of the method (in the case where it doesn't throw, e.g., in
- * production). Since it threw an exception once in this file, it won't when we call it again.
+ * production).
*
* @covers OutputPage::addScriptFile
*/
public function testAddDeprecatedScriptFileNoOp() {
+ $this->hideDeprecated( 'OutputPage::addScriptFile' );
$op = $this->newInstance();
$op->addScriptFile( 'ignored-script.js' );