3 use MediaWiki\MainConfigNames
;
4 use MediaWiki\MediaWikiServices
;
8 * @covers \Wikimedia\ObjectCache\MemcachedPeclBagOStuff
9 * @requires extension memcached
11 class MemcachedPeclBagOStuffIntegrationTest
extends BagOStuffTestBase
{
12 protected function newCacheInstance() {
13 if ( !$this->getConfVar( MainConfigNames
::EnableRemoteBagOStuffTests
) ) {
14 $this->markTestSkipped( '$wgEnableRemoteBagOStuffTests is false' );
16 return MediaWikiServices
::getInstance()->getObjectCacheFactory()->getInstance( 'memcached-pecl' );