fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -11,8 +11,7 @@ class AdministratorEnrollmentRefundService
{
public function __construct(
protected FeeCalculationService $feeCalculationService
) {
}
) {}
public function processRefunds(array $parentIds, string $schoolYear, int $editorUserId): array
{
@@ -36,8 +35,9 @@ class AdministratorEnrollmentRefundService
->latest('created_at')
->first();
if (!$invoice) {
if (! $invoice) {
$errors[] = "No invoice found for parent ID {$pid} (for refund calc).";
continue;
}