always use arraycache for unit tests

This commit is contained in:
Robin Appelman 2015-05-04 15:08:32 +02:00
parent bf7002bc65
commit e64360e72d
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ class Server extends SimpleContainer implements IServerContainer {
$this->registerService('MemCacheFactory', function (Server $c) {
$config = $c->getConfig();
if($config->getSystemValue('installed', false)) {
if($config->getSystemValue('installed', false) && !(defined('PHPUNIT_RUN') && PHPUNIT_RUN)) {
$v = \OC_App::getAppVersions();
$v['core'] = implode('.', \OC_Util::getVersion());
$version = implode(',', $v);