test fix
authoreileenmcnaughton <eileen@fuzion.co.nz>
Mon, 13 Jul 2015 06:34:18 +0000 (06:34 +0000)
committereileenmcnaughton <eileen@fuzion.co.nz>
Mon, 13 Jul 2015 06:34:18 +0000 (06:34 +0000)
tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php

index 299d6db6ccf5160c9c276286fbbee30686d3b32a..d22a2ea6c6115358f5c188c41a9b5d08f1386523 100644 (file)
@@ -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,