Unverified Commit adfb80c0 authored by eileen's avatar eileen 🎱 Committed by GitHub

Merge pull request #11659 from JMAConsulting/ut-fix

Unit test fixes
parents 49b24c32 2e813c49
......@@ -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