From: eileenmcnaughton Date: Mon, 29 Sep 2014 01:05:21 +0000 (+0000) Subject: fix don't document config X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d2d04435e06df258744f8dfd94451a444b6935ef;p=civicrm-core.git fix don't document config --- diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index ff4d40cef1..cd87688d6a 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -2076,7 +2076,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase { * @param string $action - optional action - otherwise taken from function name */ function documentMe($params, $result, $function, $filename, $description = "", $subfile = NULL, $action = NULL) { - if (defined('DONT_DOCUMENT_TEST_CONFIG')) { + if (defined('DONT_DOCUMENT_TEST_CONFIG') && DONT_DOCUMENT_TEST_CONFIG) { return; } $entity = substr(basename($filename), 0, strlen(basename($filename)) - 8);