From f121f9663f67e000413ddb1b11438e076417e675 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 16 Feb 2015 17:28:07 -0500 Subject: [PATCH] Revert examples causing test failures --- api/v3/examples/Contribution/Create.php | 4 ++-- api/v3/examples/PaymentProcessor/Create.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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, -- 2.25.1