add tests batch 20

This commit is contained in:
root
2026-06-09 01:03:53 -04:00
parent 95efb9652e
commit 6be4875c5e
1502 changed files with 13797 additions and 11313 deletions
@@ -72,7 +72,7 @@ class FamilyAdminController extends BaseApiController
$schoolYear
);
if (! $family) {
if (!$family) {
return $this->error('Family not found.', Response::HTTP_NOT_FOUND);
}
@@ -92,9 +92,8 @@ class FamilyAdminController extends BaseApiController
$payload['reply_to_name'] ?? null
);
if (! $ok) {
if (!$ok) {
Log::warning('Compose email failed for family admin', ['recipient' => $payload['recipient']]);
return $this->error('Unable to send email.', Response::HTTP_INTERNAL_SERVER_ERROR);
}