From 08703635d7dd9899cb432cb1f1db46e48484cb97 Mon Sep 17 00:00:00 2001 From: Mark Hanna Date: Mon, 5 Nov 2018 12:24:06 -0600 Subject: [PATCH] test coverage for 'NULL' string values for custom fields --- tests/phpunit/CiviTest/CiviUnitTestCase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index 986a89169f..603bf61a89 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -1986,6 +1986,7 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase { 'defaultValue' => 'Default Value', 'lowercasevalue' => 'Lowercase Value', 1 => 'Integer Value', + 'NULL' => 'NULL', ]; $custom_field_params = ['sequential' => 1, 'id' => $customField['id']]; $custom_field_api_result = $this->callAPISuccess('custom_field', 'get', $custom_field_params); -- 2.25.1