From 5e8ae730af8c385f3b905facd882f4d68d542050 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Mon, 16 Nov 2015 17:11:59 +0530 Subject: [PATCH] format fixes --- CRM/Contribute/Form/AdditionalInfo.php | 2 +- tests/phpunit/WebTest/Contribute/UpdateContributionTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contribute/Form/AdditionalInfo.php b/CRM/Contribute/Form/AdditionalInfo.php index bdf065da1c..455ddd9154 100644 --- a/CRM/Contribute/Form/AdditionalInfo.php +++ b/CRM/Contribute/Form/AdditionalInfo.php @@ -338,7 +338,7 @@ class CRM_Contribute_Form_AdditionalInfo { $paymentInstrument = CRM_Contribute_PseudoConstant::paymentInstrument(); $params['paidBy'] = $paymentInstrument[$params['payment_instrument_id']]; if ($params['paidBy'] != 'Check' && isset($params['check_number'])) { - unset($params['check_number']); + unset($params['check_number']); } } diff --git a/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php b/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php index 99f356ce4e..ab4894a0ee 100755 --- a/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php @@ -244,7 +244,7 @@ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase { //Assertions $actualAmount = $this->_getPremiumActualCost($contId, $from, $to, NULL, "'civicrm_contribution'"); - $this->assertEquals($actualAmount, null, "Verify actual cost for deleted premium"); + $this->assertEquals($actualAmount, NULL, "Verify actual cost for deleted premium"); } public function testChangePaymentInstrument() { -- 2.25.1