aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/unit/includes/api/ApiModuleManagerTest.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/unit/includes/api/ApiModuleManagerTest.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/unit/includes/api/ApiModuleManagerTest.php')
-rw-r--r--tests/phpunit/unit/includes/api/ApiModuleManagerTest.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/phpunit/unit/includes/api/ApiModuleManagerTest.php b/tests/phpunit/unit/includes/api/ApiModuleManagerTest.php
index 78ff076ca6cc..060e1bf5ca55 100644
--- a/tests/phpunit/unit/includes/api/ApiModuleManagerTest.php
+++ b/tests/phpunit/unit/includes/api/ApiModuleManagerTest.php
@@ -5,7 +5,7 @@ use MediaWiki\Tests\Unit\DummyServicesTrait;
use MediaWiki\User\UserFactory;
/**
- * @covers ApiModuleManager
+ * @covers \ApiModuleManager
* @group API
* @group medium
*/
@@ -196,7 +196,7 @@ class ApiModuleManagerTest extends MediaWikiUnitTestCase {
}
/**
- * @covers ApiModuleManager::getModule
+ * @covers \ApiModuleManager::getModule
* @dataProvider getModuleProvider
*/
public function testGetModule( $modules, $name, $expectedClass ) {
@@ -221,7 +221,7 @@ class ApiModuleManagerTest extends MediaWikiUnitTestCase {
}
/**
- * @covers ApiModuleManager::getModule
+ * @covers \ApiModuleManager::getModule
*/
public function testGetModule_null() {
$modules = [
@@ -237,7 +237,7 @@ class ApiModuleManagerTest extends MediaWikiUnitTestCase {
}
/**
- * @covers ApiModuleManager::getNames
+ * @covers \ApiModuleManager::getNames
*/
public function testGetNames() {
$fooModules = [
@@ -263,7 +263,7 @@ class ApiModuleManagerTest extends MediaWikiUnitTestCase {
}
/**
- * @covers ApiModuleManager::getNamesWithClasses
+ * @covers \ApiModuleManager::getNamesWithClasses
*/
public function testGetNamesWithClasses() {
$fooModules = [
@@ -292,7 +292,7 @@ class ApiModuleManagerTest extends MediaWikiUnitTestCase {
}
/**
- * @covers ApiModuleManager::getModuleGroup
+ * @covers \ApiModuleManager::getModuleGroup
*/
public function testGetModuleGroup() {
$fooModules = [
@@ -315,7 +315,7 @@ class ApiModuleManagerTest extends MediaWikiUnitTestCase {
}
/**
- * @covers ApiModuleManager::getGroups
+ * @covers \ApiModuleManager::getGroups
*/
public function testGetGroups() {
$fooModules = [
@@ -337,7 +337,7 @@ class ApiModuleManagerTest extends MediaWikiUnitTestCase {
}
/**
- * @covers ApiModuleManager::getClassName
+ * @covers \ApiModuleManager::getClassName
*/
public function testGetClassName() {
$fooModules = [