[Pkg-owncloud-commits] [owncloud] 205/457: always use arraycache for unit tests

David Prévot taffit at moszumanska.debian.org
Sun Jun 28 20:06:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit e64360e72db8514b305c628a38cd30809fb2913d
Author: Robin Appelman <icewind at owncloud.com>
Date:   Mon May 4 15:08:32 2015 +0200

    always use arraycache for unit tests
---
 lib/private/server.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/server.php b/lib/private/server.php
index 7c8e59c..900d754 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list