From 5c48186329bdb93aba3980fcfd92d19550184592 Mon Sep 17 00:00:00 2001 From: Isabelle Hurbain-Palatin Date: Thu, 21 Nov 2024 18:49:12 +0100 Subject: [PATCH] Replace uses of deprecated ParserOutput::getText() Bug: T293512 Change-Id: I32ffc6c0e36095fccddde0af988fc692ae530f01 --- tests/phpunit/CiteDbTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/CiteDbTest.php b/tests/phpunit/CiteDbTest.php index 85c6f4df5..803a8ab6b 100644 --- a/tests/phpunit/CiteDbTest.php +++ b/tests/phpunit/CiteDbTest.php @@ -35,7 +35,7 @@ class CiteDbTest extends \MediaWikiIntegrationTestCase { $this->assertStringContainsString( 'cite_ref-2', - $parserOutput->getText(), + $parserOutput->getRawText(), 'Internal counter should not reset to 1 for text #3' ); }