From ae27ec9f9fa0bc510bebf6c2cd2f51f4a3607d36 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Wed, 15 Jun 2016 18:26:02 +0530 Subject: [PATCH] CRM-16189, fixed api example to pass API test ---------------------------------------- * CRM-16189: Improve support for Accrual Method bookkeeping https://issues.civicrm.org/jira/browse/CRM-16189 --- api/v3/examples/Contribution/Create.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/v3/examples/Contribution/Create.php b/api/v3/examples/Contribution/Create.php index 55f4582cc4..9135fe3f92 100644 --- a/api/v3/examples/Contribution/Create.php +++ b/api/v3/examples/Contribution/Create.php @@ -59,7 +59,7 @@ function contribution_create_expectedresult() { 'receive_date' => '20120511000000', 'non_deductible_amount' => '', 'total_amount' => '100', - 'fee_amount' => 0, + 'fee_amount' => '0', 'net_amount' => '100', 'trxn_id' => '12345', 'invoice_id' => '67890', @@ -80,6 +80,7 @@ function contribution_create_expectedresult() { 'creditnote_id' => '', 'tax_amount' => '', 'contribution_type_id' => '1', + 'revenue_recognition_date' => '', ), ), ); -- 2.25.1