X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FCRM%2FCore%2FBAO%2FCustomFieldTest.php;h=53c1456ea6e112c36671bdd3c37cff6f4063a5d0;hb=8b056441a3578c3e29f545865cbc951ddaa740c0;hp=ccb84063d02f066e8865b054e29073c6ccfbfa77;hpb=a77cc5a4e5d3d9c69afa8dc09e44155f6e70e283;p=civicrm-core.git diff --git a/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php b/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php index ccb84063d0..53c1456ea6 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php @@ -514,7 +514,7 @@ class CRM_Core_BAO_CustomFieldTest extends CiviUnitTestCase { 'import' => 1, 'custom_field_id' => $this->getCustomFieldID('text'), 'options_per_line' => NULL, - 'text_length' => NULL, + 'text_length' => 300, 'data_type' => 'String', 'html_type' => 'Text', 'is_search_range' => '0', @@ -537,6 +537,7 @@ class CRM_Core_BAO_CustomFieldTest extends CiviUnitTestCase { 'where' => 'civicrm_value_custom_group_' . $customGroupID . '.enter_text_here_' . $this->getCustomFieldID('text'), 'extends_table' => 'civicrm_contact', 'search_table' => 'contact_a', + 'maxlength' => 300, ], $this->getCustomFieldName('select_string') => [ 'name' => $this->getCustomFieldName('select_string'),