Merge pull request #423 from owncloud/fix-phpunit
define PHPUNIT constant only if not already set
This commit is contained in:
commit
ac693c2974
@ -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';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user