3 use Wikimedia\ObjectCache\APCUBagOStuff
;
7 * @covers \Wikimedia\ObjectCache\APCUBagOStuff
8 * @requires extension apcu
10 class APCUBagOStuffTest
extends BagOStuffTestBase
{
11 protected function newCacheInstance() {
12 // Make sure the APCu methods actually store anything
13 if ( PHP_SAPI
=== 'cli' && !ini_get( 'apc.enable_cli' ) ) {
14 $this->markTestSkipped( 'apc.enable_cli=1 is required to run this test.' );
16 return new APCUBagOStuff( [] );