Commit 2e813c49 authored by deb.monish's avatar deb.monish

Unit test fixes

parent 49b24c32
......@@ -1616,9 +1616,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
}
$params['line_item'] = $lineItem;
$params['payment_processor_id'] = $params['payment_processor'] = CRM_Utils_Array::value('id', $this->_paymentProcessor);
if (isset($this->_values['tax_amount'])) {
$params['tax_amount'] = $this->_values['tax_amount'];
}
$params['tax_amount'] = CRM_Utils_Array::value('tax_amount', $submittedValues, CRM_Utils_Array::value('tax_amount', $this->_values));
//create contribution.
if ($isQuickConfig) {
$params['is_quick_config'] = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment