$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']);
}
}
//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() {