Debian Codegraph @

tests/phpunit/includes/libs/objectcache/RESTBagOStuffIntegrationTest.php

raw symbols SCIP
1 <?php
2
3 use MediaWiki\MainConfigNames;
4 use Wikimedia\ObjectCache\RESTBagOStuff;
5
6 /**
7 * @group BagOStuff
8 * @covers \Wikimedia\ObjectCache\RESTBagOStuff
9 */
10 class RESTBagOStuffIntegrationTest extends BagOStuffTestBase {
11 protected function newCacheInstance() {
12 if ( !$this->getConfVar( MainConfigNames::EnableRemoteBagOStuffTests ) ) {
13 $this->markTestSkipped( '$wgEnableRemoteBagOStuffTests is false' );
14 }
15 return $this->getCacheByClass( RESTBagOStuff::class );
16 }
17 }