diff options
author | Umherirrender <umherirrender_de.wp@web.de> | 2024-06-14 00:06:40 +0200 |
---|---|---|
committer | Umherirrender <umherirrender_de.wp@web.de> | 2024-06-14 00:15:40 +0200 |
commit | b4e0d31644b9044fda1d7a0d1435e923a0ecfbde (patch) | |
tree | c63c20de6c4d84c8c7cc5f591f371c2afe066f43 /tests/phpunit/includes/cache/BacklinkCacheTest.php | |
parent | 86caf6705c94c80a7aefa4633ed3f150408ecd75 (diff) | |
download | mediawikicore-b4e0d31644b9044fda1d7a0d1435e923a0ecfbde.tar.gz mediawikicore-b4e0d31644b9044fda1d7a0d1435e923a0ecfbde.zip |
tests: Use namespaced classes (@covers)
Some fixes done via codesniffer fix (Ibd0f48e14e)
Change-Id: I0404ceca7c5abe8d32ef9a8fce404c7b89ffbaae
Diffstat (limited to 'tests/phpunit/includes/cache/BacklinkCacheTest.php')
-rw-r--r-- | tests/phpunit/includes/cache/BacklinkCacheTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/phpunit/includes/cache/BacklinkCacheTest.php b/tests/phpunit/includes/cache/BacklinkCacheTest.php index 5ea2bcd0b5c2..a7863fe84cbd 100644 --- a/tests/phpunit/includes/cache/BacklinkCacheTest.php +++ b/tests/phpunit/includes/cache/BacklinkCacheTest.php @@ -5,7 +5,7 @@ use MediaWiki\Title\Title; /** * @group Database * @group Cache - * @covers \BacklinkCache + * @covers \MediaWiki\Cache\BacklinkCache */ class BacklinkCacheTest extends MediaWikiIntegrationTestCase { private static $backlinkCacheTest; @@ -40,7 +40,7 @@ class BacklinkCacheTest extends MediaWikiIntegrationTestCase { /** * @dataProvider provideCasesForHasLink - * @covers \BacklinkCache::hasLinks + * @covers \MediaWiki\Cache\BacklinkCache::hasLinks */ public function testHasLink( bool $expected, string $title, string $table, string $msg = '' ) { $blcFactory = $this->getServiceContainer()->getBacklinkCacheFactory(); @@ -59,7 +59,7 @@ class BacklinkCacheTest extends MediaWikiIntegrationTestCase { /** * @dataProvider provideCasesForGetNumLinks - * @covers \BacklinkCache::getNumLinks + * @covers \MediaWiki\Cache\BacklinkCache::getNumLinks */ public function testGetNumLinks( int $numLinks, string $title, string $table, $max = INF ) { $blcFactory = $this->getServiceContainer()->getBacklinkCacheFactory(); @@ -102,7 +102,7 @@ class BacklinkCacheTest extends MediaWikiIntegrationTestCase { /** * @dataProvider provideCasesForGetLinks - * @covers \BacklinkCache::getLinkPages + * @covers \MediaWiki\Cache\BacklinkCache::getLinkPages */ public function testGetLinkPages( array $expectedTitles, string $title, string $table, $startId = false, $endId = false, $max = INF @@ -120,7 +120,7 @@ class BacklinkCacheTest extends MediaWikiIntegrationTestCase { } /** - * @covers \BacklinkCache::partition + * @covers \MediaWiki\Cache\BacklinkCache::partition */ public function testPartition() { $targetId = $this->getServiceContainer()->getLinkTargetLookup()->acquireLinkTargetId( |