wiki.techinc.nl/tests/phpunit/includes/objectcache
Timo Tijhof e1decd825d objectcache: Disable RedisBagOStuff constructor in unit test
Follows-up c4e698dc2. The tests are failing on Travis CI because
php5-redis isn't installed by default. These tests shouldn't need
that to be installed (and even then, we should skip gracefully as
it is an optional dependency).

> RedisBagOStuffTest::testUnserialize with data set #0
> Exception: RedisConnectionPool requires a Redis client library.
> ./mediawiki/includes/clientpool/RedisConnectionPool.php:86

Fixed by using a mock and disabling the original constructor.

Change-Id: Icced7c30a75516c2118489ad29eac2aa5cff80ad
2016-07-25 16:55:36 +01:00
..
MemcachedBagOStuffTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
RedisBagOStuffTest.php objectcache: Disable RedisBagOStuff constructor in unit test 2016-07-25 16:55:36 +01:00
RESTBagOStuffTest.php Create BagOStuff implementation to talk to RestBase 2016-07-06 17:52:07 +00:00