update test generated examples
[civicrm-core.git] / api / v3 / examples / Contact / APIChainedArrayFormats.php
index 41a1c62b9771c9221724f71aeb05e40e6cf73397..576cbbed3ea9422effcf18521484db3a4debfdfd 100644 (file)
@@ -5,10 +5,10 @@
     *custom fields or memberships exist
  */
 function contact_get_example(){
-$params = array( 
+$params = array(
   'id' => 1,
   'version' => 3,
-  'api.website.getValue' => array( 
+  'api.website.getValue' => array(
       'return' => 'url',
     ),
   'api.Contribution.getCount' => array(),
@@ -27,13 +27,13 @@ $params = array(
  */
 function contact_get_expectedresult(){
 
-  $expectedResult = array( 
+  $expectedResult = array(
   'is_error' => 0,
   'version' => 3,
   'count' => 1,
   'id' => 1,
-  'values' => array( 
-      '1' => array( 
+  'values' => array(
+      '1' => array(
           'contact_id' => '1',
           'contact_type' => 'Individual',
           'contact_sub_type' => '',
@@ -62,12 +62,6 @@ function contact_get_expectedresult(){
           'organization_name' => '',
           'sic_code' => '',
           'contact_is_deleted' => 0,
-          'gender_id' => '',
-          'gender' => '',
-          'prefix_id' => '',
-          'prefix' => '',
-          'suffix_id' => '',
-          'suffix' => '',
           'current_employer' => '',
           'address_id' => '',
           'street_address' => '',
@@ -97,13 +91,13 @@ function contact_get_expectedresult(){
           'id' => '1',
           'api.website.getValue' => 'http://civicrm.org',
           'api.Contribution.getCount' => 2,
-          'api.CustomValue.get' => array( 
+          'api.CustomValue.get' => array(
               'is_error' => 0,
               'version' => 3,
               'count' => 0,
               'values' => array(),
             ),
-          'api.Note.get' => array( 
+          'api.Note.get' => array(
               'is_error' => 0,
               'version' => 3,
               'count' => 0,