format fixes
authormonishdeb <monish.deb@webaccessglobal.com>
Mon, 16 Nov 2015 11:41:59 +0000 (17:11 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Mon, 16 Nov 2015 11:41:59 +0000 (17:11 +0530)
CRM/Contribute/Form/AdditionalInfo.php
tests/phpunit/WebTest/Contribute/UpdateContributionTest.php

index bdf065da1c7a512809da88e2728f23c0a447a297..455ddd9154947403d64fbb8448994331e25d1e2f 100644 (file)
@@ -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']);
       }
     }
 
index 99f356ce4ec9d8c9a4750f288286caf2f830b9cd..ab4894a0ee6750c6beca89ace7cc8fd88c7b4d43 100755 (executable)
@@ -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() {