Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-01-02 11:46:13 +0300
committerMorris Jobke <hey@morrisjobke.de>2015-01-02 11:46:13 +0300
commit22dcb6e2e42549f9b4aabad0260dd086bd704368 (patch)
tree8127cef0611deccbb419f58dd1317a7d57ed8efc /tests
parente851f57e2a7553455a7efd022500e6e91ca28d86 (diff)
define PHPUNIT constant only if not already set
Diffstat (limited to 'tests')
-rw-r--r--tests/bootstrap.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index 57bf2fa0..12d406cf 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -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';