aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/libs/objectcache/RedisBagOStuffIntegrationTest.php
blob: 80e3acf94ef74f3c1128037329676946109b1d78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?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 );
	}
}