chore: markAsAuthorized and payment collection tests (#2620)

* chore: markAsAuthorized and payment collection tests
This commit is contained in:
Carlos R. L. Rodrigues authored and GitHub committed 2022-11-18 11:23:35 -03:00
1 parent a77780671a
commit 01a879ac94
8 files changed
+802

No files matched your search

@@ -12,6 +12,10 @@ export const simplePaymentCollectionFactory = async (
const defaultData = {
currency_code: data.currency_code ?? "usd",
type: data.type ?? "order_edit",
status: data.status ?? "not_paid",
amount: data.amount ?? 1000,
created_by: data.created_by ?? "admin_user",
}
if (!data.region && !data.region_id) {