From: Eileen McNaughton Date: Tue, 27 Jan 2015 18:40:26 +0000 (+1300) Subject: api example, hack id back to 1 to compensate for poor test cleanup X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9491328f005d63ada24393d3be9b29aa193e703f;p=civicrm-core.git api example, hack id back to 1 to compensate for poor test cleanup --- diff --git a/api/v3/examples/Contribution/Create.php b/api/v3/examples/Contribution/Create.php index a1d467c21f..7d159579f2 100644 --- a/api/v3/examples/Contribution/Create.php +++ b/api/v3/examples/Contribution/Create.php @@ -14,7 +14,7 @@ */ function contribution_create_example() { $params = array( - 'contact_id' => 32, + 'contact_id' => 1, 'receive_date' => '20120511', 'total_amount' => '100', 'financial_type_id' => 1, @@ -59,7 +59,7 @@ function contribution_create_expectedresult() { 'values' => array( '1' => array( 'id' => '1', - 'contact_id' => '32', + 'contact_id' => '1', 'financial_type_id' => '1', 'contribution_page_id' => '1', 'payment_instrument_id' => '4',