diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-19 12:36:00 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-30 10:55:05 +0100 |
commit | 58cc3000c66bbb83ae385c762157a2258be13f12 (patch) | |
tree | 0f2f5b3bd04e6e96a06c07f7d8fdffe5d022bd9f | |
parent | 7e71d8231e79d2795a10ef3b3aef50e4a5999bbc (diff) | |
download | nextcloud-server-58cc3000c66bbb83ae385c762157a2258be13f12.tar.gz nextcloud-server-58cc3000c66bbb83ae385c762157a2258be13f12.zip |
Prevent redefinition warning of PHPUNIT_RUN
-rw-r--r-- | apps/dav/tests/unit/bootstrap.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/bootstrap.php b/apps/dav/tests/unit/bootstrap.php index 28f6b971dec..b6ea48ec903 100644 --- a/apps/dav/tests/unit/bootstrap.php +++ b/apps/dav/tests/unit/bootstrap.php @@ -1,6 +1,8 @@ <?php -define('PHPUNIT_RUN', 1); +if (!defined('PHPUNIT_RUN')) { + define('PHPUNIT_RUN', 1); +} require_once __DIR__.'/../../../../lib/base.php'; |