From a391b294cc34229f93b6bfd90e50b18e7606bf35 Mon Sep 17 00:00:00 2001 From: eileenmcnaughton Date: Mon, 13 Jul 2015 06:34:18 +0000 Subject: [PATCH] test fix --- tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php b/tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php index 299d6db6cc..d22a2ea6c6 100644 --- a/tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php +++ b/tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php @@ -41,7 +41,7 @@ class CRM_Core_BAO_FinancialTrxnTest extends CiviUnitTestCase { public function testCreate() { $contactId = $this->individualCreate(); $financialTypeId = 1; - $contributionId = $this->contributionCreate($contactId, $financialTypeId); + $this->contributionCreate(array('contact_id' => $contactId), $financialTypeId); $params = array( 'contribution_id' => $financialTypeId, 'to_financial_account_id' => 1, -- 2.25.1