projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52fb3f7
)
test coverage for 'NULL' string values for custom fields
author
Mark Hanna
<mark@skvare.com>
Mon, 5 Nov 2018 18:24:06 +0000
(12:24 -0600)
committer
Mark Hanna
<mark@skvare.com>
Mon, 5 Nov 2018 18:24:06 +0000
(12:24 -0600)
tests/phpunit/CiviTest/CiviUnitTestCase.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/CiviTest/CiviUnitTestCase.php
b/tests/phpunit/CiviTest/CiviUnitTestCase.php
index 986a89169ffb8501be87882874202c92d7e24852..603bf61a89a1472f88a00481f7321ce6cb9692db 100644
(file)
--- 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);