diff options
Diffstat (limited to 'tests/phpunit/includes/objectcache')
-rw-r--r-- | tests/phpunit/includes/objectcache/ObjectCacheTest.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/phpunit/includes/objectcache/ObjectCacheTest.php b/tests/phpunit/includes/objectcache/ObjectCacheTest.php index bb8d0ed51948..a6477b0ba843 100644 --- a/tests/phpunit/includes/objectcache/ObjectCacheTest.php +++ b/tests/phpunit/includes/objectcache/ObjectCacheTest.php @@ -2,6 +2,10 @@ use MediaWiki\MainConfigNames; +/** + * @covers ObjectCache + * @group BagOStuff + */ class ObjectCacheTest extends MediaWikiIntegrationTestCase { protected function setUp(): void { @@ -29,7 +33,6 @@ class ObjectCacheTest extends MediaWikiIntegrationTestCase { $this->overrideConfigValue( MainConfigNames::ObjectCaches, $arr + $defaults ); } - /** @covers ObjectCache::newAnything */ public function testNewAnythingNothing() { $this->assertInstanceOf( SqlBagOStuff::class, @@ -38,7 +41,6 @@ class ObjectCacheTest extends MediaWikiIntegrationTestCase { ); } - /** @covers ObjectCache::newAnything */ public function testNewAnythingHash() { $this->setMainCache( CACHE_HASH ); @@ -49,7 +51,6 @@ class ObjectCacheTest extends MediaWikiIntegrationTestCase { ); } - /** @covers ObjectCache::newAnything */ public function testNewAnythingAccel() { $this->setMainCache( CACHE_ACCEL ); @@ -60,7 +61,6 @@ class ObjectCacheTest extends MediaWikiIntegrationTestCase { ); } - /** @covers ObjectCache::newAnything */ public function testNewAnythingNoAccel() { $this->setMainCache( CACHE_ACCEL ); @@ -76,7 +76,6 @@ class ObjectCacheTest extends MediaWikiIntegrationTestCase { ); } - /** @covers ObjectCache::newAnything */ public function testNewAnythingNoAccelNoDb() { $this->setMainCache( CACHE_ACCEL ); @@ -94,7 +93,6 @@ class ObjectCacheTest extends MediaWikiIntegrationTestCase { ); } - /** @covers ObjectCache::newAnything */ public function testNewAnythingNothingNoDb() { $this->getServiceContainer()->disableStorage(); |