Merge branch '4.4' into master
[civicrm-core.git] / api / v3 / examples / MessageTemplate / Create.php
index 25c0b99b6b1c46200a0fad390017f83206f0e31c..f1ce5c18c2ae38e115eeafa67cb7a29d81f2e804 100644 (file)
@@ -5,14 +5,13 @@
  */
 function message_template_create_example(){
 $params = array(
-  'msg_title' => 'msg_title_55',
-  'msg_subject' => 'msg_subject_55',
-  'msg_text' => 'msg_text_55',
-  'msg_html' => 'msg_html_55',
-  'workflow_id' => 55,
+  'msg_title' => 'msg_title_1',
+  'msg_subject' => 'msg_subject_1',
+  'msg_text' => 'msg_text_1',
+  'msg_html' => 'msg_html_1',
+  'workflow_id' => 1,
   'is_default' => '1',
   'is_reserved' => 1,
-  'pdf_format_id' => '1',
 );
 
 try{
@@ -42,15 +41,15 @@ function message_template_create_expectedresult(){
   'values' => array(
       '2' => array(
           'id' => '2',
-          'msg_title' => 'msg_title_55',
-          'msg_subject' => 'msg_subject_55',
-          'msg_text' => 'msg_text_55',
-          'msg_html' => 'msg_html_55',
+          'msg_title' => 'msg_title_1',
+          'msg_subject' => 'msg_subject_1',
+          'msg_text' => 'msg_text_1',
+          'msg_html' => 'msg_html_1',
           'is_active' => '1',
-          'workflow_id' => '55',
+          'workflow_id' => '1',
           'is_default' => '1',
           'is_reserved' => '1',
-          'pdf_format_id' => '1',
+          'pdf_format_id' => '',
         ),
     ),
 );