test tweaks and updated examples
[civicrm-core.git] / api / v3 / examples / ProfileSet.php
index df358ea6e102730605148c6647e43038d0ebcd6d..835ae7079a6f3544fc97020709251b92882aa3fb 100644 (file)
@@ -65,6 +65,8 @@ function profile_set_expectedresult(){
           'first_name' => 'abc2',
           'middle_name' => '',
           'last_name' => 'xyz2',
+          'prefix_id' => '',
+          'suffix_id' => '',
           'email_greeting_id' => '1',
           'email_greeting_custom' => '',
           'email_greeting_display' => 'Dear abc1',
@@ -73,7 +75,7 @@ function profile_set_expectedresult(){
           'postal_greeting_display' => 'Dear abc1',
           'addressee_id' => '1',
           'addressee_custom' => '',
-          'addressee_display' => '{contact.individual_prefix} abc1 {contact.middle_name} xyz1 {contact.individual_suffix}',
+          'addressee_display' => '{contact.individual_prefix} abc1 xyz1 {contact.individual_suffix}',
           'job_title' => '',
           'gender_id' => '',
           'birth_date' => '',