aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php
diff options
context:
space:
mode:
authorReedy <reedy@wikimedia.org>2024-02-16 18:04:47 +0000
committerJforrester <jforrester@wikimedia.org>2024-02-16 22:43:56 +0000
commit85396a9c99230d706cbbe21466770856b1fbe922 (patch)
tree3c71838f4b417f7eca33855dfa99ca4a0ebafa4d /tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php
parent0c60b7f43520dced14c49a72ff28fd0ac5f0399a (diff)
downloadmediawikicore-85396a9c99230d706cbbe21466770856b1fbe922.tar.gz
mediawikicore-85396a9c99230d706cbbe21466770856b1fbe922.zip
tests: Fix @covers and @coversDefaultClass to have leading \
Change-Id: I5629f91387f2ac453ee4341bfe4bba310bd52f03
Diffstat (limited to 'tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php')
-rw-r--r--tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php b/tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php
index 7f1f948bdd8a..a6f9118cab3a 100644
--- a/tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php
+++ b/tests/phpunit/includes/content/WikitextContentHandlerIntegrationTest.php
@@ -213,7 +213,7 @@ class WikitextContentHandlerIntegrationTest extends TextContentHandlerIntegratio
/**
* @dataProvider provideGetParserOutput
- * @covers WikitextContentHandler::fillParserOutput
+ * @covers \WikitextContentHandler::fillParserOutput
*/
public function testGetParserOutput( $title, $model, $text, $expectedHtml,
$expectedFields = null, $options = null
@@ -241,8 +241,8 @@ class WikitextContentHandlerIntegrationTest extends TextContentHandlerIntegratio
* @param LinkTarget $target
* @param string $expectedWT Serialized wikitext form of the content object built
* @param string $expectedTarget Expected target string in the HTML redirect
- * @covers WikitextContentHandler::makeRedirectContent
- * @covers WikitextContentHandler::getParserOutput
+ * @covers \WikitextContentHandler::makeRedirectContent
+ * @covers \WikitextContentHandler::getParserOutput
*/
public function testMakeRedirectContent( LinkTarget $target, string $expectedWT, string $expectedTarget ) {
$this->getServiceContainer()->resetServiceForTesting( 'ContentLanguage' );