fix test run issue
Tests / PHPUnit (push) Successful in 1m21s

This commit is contained in:
root
2026-07-18 23:18:49 -04:00
parent a30c1398a1
commit 2be16553df
15 changed files with 368 additions and 17 deletions
@@ -661,6 +661,7 @@ class RefundController extends BaseController
$payoutId = $this->refundPayoutModel->insert([
'refund_id' => $refundId,
'school_year' => (string)($lockedRefund['school_year'] ?? ''),
'amount_cents' => $newPaidCents,
'currency' => (string)($lockedRefund['currency'] ?? 'USD') ?: 'USD',
'payout_type' => 'cash_out',
@@ -830,6 +831,7 @@ class RefundController extends BaseController
$reversalId = $this->refundPayoutModel->insert([
'refund_id' => $refundId,
'school_year' => (string)($refund['school_year'] ?? ''),
'amount_cents' => $reverseCents,
'currency' => (string)($payout['currency'] ?? $refund['currency'] ?? 'USD') ?: 'USD',
'payout_type' => 'reversal',