CRM-15792 typo fix
authoratif-shaikh <shaikh388@gmail.com>
Tue, 24 Feb 2015 10:05:15 +0000 (15:35 +0530)
committeratif-shaikh <shaikh388@gmail.com>
Tue, 24 Feb 2015 10:05:15 +0000 (15:35 +0530)
----------------------------------------
* CRM-15792: Loss of data when creating / updating custom datetime fields through the API
  https://issues.civicrm.org/jira/browse/CRM-15792

tests/phpunit/api/v3/ContactTest.php

index 2b2a8cfcb0b1d37e30340e4daa79ead4383ff25e..04d41c9a4b5bcabf3304ab9417672c6e2e90c137 100644 (file)
@@ -405,7 +405,7 @@ class api_v3_ContactTest extends CiviUnitTestCase {
     $params = array(
       'id' => $result['id'],
       'api.CustomField.create' => array(
-        'id' => $customValueId,
+        'id' => $customFldId,
         'html_type' => 'Select Date',
         'data_type' => 'Date',
         'time_format' => '',