From: monishdeb Date: Mon, 16 Nov 2015 11:41:59 +0000 (+0530) Subject: format fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5e8ae730af8c385f3b905facd882f4d68d542050;p=civicrm-core.git format fixes --- 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() {