----------------------------------------
* CRM-16188: Create an order API
https://issues.civicrm.org/jira/browse/CRM-16188
}
/**
- * checkLineItems() check if total amount matches the sum of line total
+ * checkLineItems() check if total amount matches the sum of line total
*/
public function testcheckLineItems() {
$params = array(
'financial_type_id' => 1,
),
),
- 'params'=> array(),
+ 'params' => array(),
),
- )
+ ),
);
$error = CRM_Contribute_BAO_Contribution::checkLineItems($params);
$this->assertEquals("Line item total doesn't match with total amount.", $error);