]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix already defined warning from dav test bootstrap
authorRobin Appelman <icewind@owncloud.com>
Mon, 30 Nov 2015 12:58:39 +0000 (13:58 +0100)
committerRobin Appelman <icewind@owncloud.com>
Mon, 30 Nov 2015 12:58:39 +0000 (13:58 +0100)
apps/dav/tests/unit/bootstrap.php

index 28f6b971dec378149bb6709b14feb9970d36c0b9..b6ea48ec9036ef9f496cb14e95578d285a3f2e58 100644 (file)
@@ -1,6 +1,8 @@
 <?php
 
-define('PHPUNIT_RUN', 1);
+if (!defined('PHPUNIT_RUN')) {
+       define('PHPUNIT_RUN', 1);
+}
 
 require_once __DIR__.'/../../../../lib/base.php';