always use arraycache for unit tests
This commit is contained in:
parent
bf7002bc65
commit
e64360e72d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue