Unit Tests and Functional Tests for Invoicing

- Updated Unit Tests for PPModels used by Invoicing
- Updated Functional Tests
- Updated Samples for quick changes.
This commit is contained in:
japatel
2014-11-19 15:21:18 -06:00
parent ef4797a94c
commit 026802443d
41 changed files with 3795 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ try {
// (See bootstrap.php for more on `ApiContext`)
$refundStatus = $invoice->recordRefund($refund, $apiContext);
} catch (Exception $ex) {
ResultPrinter::printError("Refund for Invoice", "Invoice", null, $refundStatus, $ex);
ResultPrinter::printError("Refund for Invoice", "Invoice", null, null, $ex);
exit(1);
}