From: Coleman Watts Date: Mon, 16 Feb 2015 22:28:07 +0000 (-0500) Subject: Revert examples causing test failures X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f121f9663f67e000413ddb1b11438e076417e675;p=civicrm-core.git Revert examples causing test failures --- diff --git a/api/v3/examples/Contribution/Create.php b/api/v3/examples/Contribution/Create.php index 065689de77..1875f49d4d 100644 --- a/api/v3/examples/Contribution/Create.php +++ b/api/v3/examples/Contribution/Create.php @@ -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', diff --git a/api/v3/examples/PaymentProcessor/Create.php b/api/v3/examples/PaymentProcessor/Create.php index 74860e178d..a2cd8bd337 100644 --- a/api/v3/examples/PaymentProcessor/Create.php +++ b/api/v3/examples/PaymentProcessor/Create.php @@ -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,