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
@@ -72,7 +72,7 @@ class FamilyAdminController extends BaseApiController
$schoolYear
);
if (!$family) {
if (! $family) {
return $this->error('Family not found.', Response::HTTP_NOT_FOUND);
}
@@ -92,8 +92,9 @@ 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);
}