test coverage for 'NULL' string values for custom fields
authorMark Hanna <mark@skvare.com>
Mon, 5 Nov 2018 18:24:06 +0000 (12:24 -0600)
committerMark Hanna <mark@skvare.com>
Mon, 5 Nov 2018 18:24:06 +0000 (12:24 -0600)
tests/phpunit/CiviTest/CiviUnitTestCase.php

index 986a89169ffb8501be87882874202c92d7e24852..603bf61a89a1472f88a00481f7321ce6cb9692db 100644 (file)
@@ -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);