Merge pull request #423 from owncloud/fix-phpunit

define PHPUNIT constant only if not already set
This commit is contained in:
Thomas Müller 2015-01-09 10:22:52 +01:00
commit ac693c2974

View File

@ -3,7 +3,9 @@
global $RUNTIME_NOAPPS;
$RUNTIME_NOAPPS = true;
define('PHPUNIT_RUN', 1);
if (!defined('PHPUNIT_RUN')) {
define('PHPUNIT_RUN', 1);
}
require_once __DIR__.'/../../../lib/base.php';