aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit')
-rw-r--r--tests/phpunit/includes/objectcache/ObjectCacheFactoryIntegrationTest.php (renamed from tests/phpunit/includes/objectcache/ObjectCacheTest.php)10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/phpunit/includes/objectcache/ObjectCacheTest.php b/tests/phpunit/includes/objectcache/ObjectCacheFactoryIntegrationTest.php
index 4beae840ca4d..4819e2617c20 100644
--- a/tests/phpunit/includes/objectcache/ObjectCacheTest.php
+++ b/tests/phpunit/includes/objectcache/ObjectCacheFactoryIntegrationTest.php
@@ -7,16 +7,13 @@ use Wikimedia\Rdbms\DatabaseDomain;
use Wikimedia\TestingAccessWrapper;
/**
- * @covers \ObjectCache
+ * @covers \ObjectCacheFactory
* @group BagOStuff
* @group Database
*/
-class ObjectCacheTest extends MediaWikiIntegrationTestCase {
+class ObjectCacheFactoryIntegrationTest extends MediaWikiIntegrationTestCase {
protected function setUp(): void {
- // Parent calls ObjectCache::clear() among other things
- parent::setUp();
-
$this->setCacheConfig();
$this->setMainCache( CACHE_NONE );
$this->overrideConfigValues( [
@@ -129,9 +126,6 @@ class ObjectCacheTest extends MediaWikiIntegrationTestCase {
/**
* @dataProvider provideLocalServerKeyspace
- * @covers \ObjectCache
- * @covers \ObjectCacheFactory
- * @covers \MediaWiki\WikiMap\WikiMap
*/
public function testLocalServerKeyspace( $cachePrefix, $dbName, $dbPrefix, $expect ) {
$this->overrideConfigValues( [