Revert examples causing test failures
authorColeman Watts <coleman@civicrm.org>
Mon, 16 Feb 2015 22:28:07 +0000 (17:28 -0500)
committerColeman Watts <coleman@civicrm.org>
Mon, 16 Feb 2015 22:28:07 +0000 (17:28 -0500)
api/v3/examples/Contribution/Create.php
api/v3/examples/PaymentProcessor/Create.php

index 065689de77f8ff972979488ea8b8721dfef7127e..1875f49d4da9c54db731c21a7ac813521586ac31 100644 (file)
@@ -7,7 +7,7 @@
  */
 function contribution_create_example() {
   $params = array(
-    'contact_id' => 31,
+    'contact_id' => 1,
     'receive_date' => '20120511',
     'total_amount' => '100',
     'financial_type_id' => 1,
@@ -52,7 +52,7 @@ function contribution_create_expectedresult() {
     'values' => array(
       '1' => array(
         'id' => '1',
-        'contact_id' => '31',
+        'contact_id' => '1',
         'financial_type_id' => '1',
         'contribution_page_id' => '1',
         'payment_instrument_id' => '4',
index 74860e178dd0a7290862842a2e368c3a1c466df0..a2cd8bd337757416c9213dfd19fb1a9d70b41fd9 100644 (file)
@@ -8,7 +8,7 @@
 function payment_processor_create_example() {
   $params = array(
     'name' => 'API Test PP',
-    'payment_processor_type_id' => 18,
+    'payment_processor_type_id' => 1,
     'class_name' => 'CRM_Core_Payment_APITest',
     'is_recur' => 0,
     'domain_id' => 1,