wiki.techinc.nl/tests/phpunit/includes/libs/objectcache/RedisBagOStuffIntegrationTest.php
Reedy 85396a9c99 tests: Fix @covers and @coversDefaultClass to have leading \
Change-Id: I5629f91387f2ac453ee4341bfe4bba310bd52f03
2024-02-16 22:43:56 +00:00

15 lines
396 B
PHP

<?php
/**
* @group BagOStuff
* @covers \RedisBagOStuff
* @requires extension redis
*/
class RedisBagOStuffIntegrationTest extends BagOStuffTestBase {
protected function newCacheInstance() {
if ( !$this->getConfVar( 'EnableRemoteBagOStuffTests' ) ) {
$this->markTestSkipped( '$wgEnableRemoteBagOStuffTests is false' );
}
return $this->getCacheByClass( RedisBagOStuff::class );
}
}