From 40e78f09a386e5d923269744f1579706d55826ef Mon Sep 17 00:00:00 2001 From: Edsel Date: Thu, 7 Jul 2016 16:45:10 +0530 Subject: [PATCH] CRM-16189 Fixed unit test ---------------------------------------- * CRM-16189: Improve support for Accrual Method bookkeeping https://issues.civicrm.org/jira/browse/CRM-16189 --- tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php b/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php index 8ff81eb7bc..24372ebcac 100644 --- a/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php +++ b/tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php @@ -249,9 +249,9 @@ class CRM_Financial_BAO_FinancialAccountTest extends CiviUnitTestCase { $cid = $this->individualCreate(); $params = array( 'contact_id' => $cid, - 'receive_date' => '2010-01-20', + 'receive_date' => '2016-01-20', 'total_amount' => 100, - 'financial_type_id' => 3, + 'financial_type_id' => 4, 'revenue_recognition_date' => date('Ymd', strtotime("+1 month")), 'line_items' => array( array( @@ -273,7 +273,6 @@ class CRM_Financial_BAO_FinancialAccountTest extends CiviUnitTestCase { 'qty' => 1, 'unit_price' => 200, 'line_total' => 200, - 'financial_type_id' => 1, ), ), 'params' => array(), -- 2.25.1