Update tests/phpunit/MediaWikiTestCase.php with support for apcu
authorPaladox <thomasmulhall410@yahoo.com>
Wed, 12 Oct 2016 14:39:46 +0000 (15:39 +0100)
committerReedy <reedy@wikimedia.org>
Thu, 19 Jan 2017 03:43:16 +0000 (03:43 +0000)
Change-Id: I22d54e96c2c002ea53dabfd2772d2ba4c7eb96b1

tests/phpunit/MediaWikiTestCase.php

index fd02a3e..37f76ff 100644 (file)
@@ -255,6 +255,7 @@ abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase {
                                CACHE_ACCEL => $hashCache,
                                CACHE_MEMCACHED => $hashCache,
                                'apc' => $hashCache,
                                CACHE_ACCEL => $hashCache,
                                CACHE_MEMCACHED => $hashCache,
                                'apc' => $hashCache,
+                               'apcu' => $hashCache,
                                'xcache' => $hashCache,
                                'wincache' => $hashCache,
                        ] + $baseConfig->get( 'ObjectCaches' );
                                'xcache' => $hashCache,
                                'wincache' => $hashCache,
                        ] + $baseConfig->get( 'ObjectCaches' );