From e4ba84986f9137237a97a3465619d1fb56c09b72 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Tue, 12 Jan 2016 16:09:56 +0530 Subject: [PATCH] --CRM-16259, removed white spaces --- CRM/Contribute/BAO/Contribution.php | 2 +- tests/phpunit/CRM/Contribute/BAO/ContributionTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 2b2cd77dbc..20a1b7feb1 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -4731,7 +4731,7 @@ LIMIT 1;"; * */ public static function addPayments($lineItems, $contributions) { - // get financial trxn which is a payment + // get financial trxn which is a payment $ftSql = "SELECT ft.id FROM civicrm_financial_trxn ft INNER JOIN civicrm_entity_financial_trxn eft ON eft.financial_trxn_id = ft.id AND eft.entity_table = 'civicrm_contribution' diff --git a/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php b/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php index df4559a80c..5ceb984f7c 100644 --- a/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php +++ b/tests/phpunit/CRM/Contribute/BAO/ContributionTest.php @@ -711,7 +711,7 @@ WHERE eft.entity_id = %1 AND ft.to_financial_account_id <> %2"; ); CRM_Event_BAO_Event::create($eventParams); CRM_Price_BAO_PriceSet::addTo('civicrm_event', $this->_eventId, $priceSetId); - + $priceFields = $this->callAPISuccess('PriceFieldValue', 'get', array('price_field_id' => $priceField->id)); $participantParams = array( 'financial_type_id' => 4, -- 2.25.1