diff --git a/src/SpecialMathStatus.php b/src/SpecialMathStatus.php index ed66edf51..2163a4c86 100644 --- a/src/SpecialMathStatus.php +++ b/src/SpecialMathStatus.php @@ -78,7 +78,7 @@ class SpecialMathStatus extends SpecialPage { $svgRef = file_get_contents( __DIR__ . '/../images/reference.svg' ); $svgRefNoSpeech = file_get_contents( __DIR__ . '/../images/reference-nospeech.svg' ); $renderer = MathRenderer::getRenderer( "a+b", [], 'mathml' ); - $this->assertTrue( $renderer->render( true ), "Rendering of a+b in plain MathML mode" ); + $this->assertTrue( $renderer->render(), "Rendering of a+b in plain MathML mode" ); $real = str_replace( "\n", '', $renderer->getHtmlOutput() ); $expected = '+'; $this->assertContains( $expected, $real, "Checking the presence of '+' in the MathML output" ); @@ -112,7 +112,7 @@ class SpecialMathStatus extends SpecialPage { */ public function testLaTeXMLIntegration() { $renderer = MathRenderer::getRenderer( "a+b", [], 'latexml' ); - $this->assertTrue( $renderer->render( true ), "Rendering of a+b in LaTeXML mode" ); + $this->assertTrue( $renderer->render(), "Rendering of a+b in LaTeXML mode" ); // phpcs:ignore Generic.Files.LineLength.TooLong $expected = 'a+bab{\displaystyle a+b}'; $real = preg_replace( "/\n\\s*/", '', $renderer->getHtmlOutput() );