From d2d04435e06df258744f8dfd94451a444b6935ef Mon Sep 17 00:00:00 2001 From: eileenmcnaughton Date: Mon, 29 Sep 2014 01:05:21 +0000 Subject: [PATCH] fix don't document config --- tests/phpunit/CiviTest/CiviUnitTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1