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
@@ -23,7 +23,7 @@ class SchoolCalendarMeetingService
if ($audience === 'parent' && $parentUserId) {
$studentIds = $this->getStudentIdsForParent($parentUserId);
if (! empty($studentIds)) {
if (!empty($studentIds)) {
$builder->where(function (Builder $q) use ($parentUserId, $studentIds) {
$q->where('parent_user_id', $parentUserId)
->orWhereIn('student_id', $studentIds);
@@ -34,7 +34,7 @@ class SchoolCalendarMeetingService
}
$rows = $builder->orderBy('date', 'ASC')->get()->toArray();
if (! empty($rows)) {
if (!empty($rows)) {
return $rows;
}
@@ -48,7 +48,7 @@ class SchoolCalendarMeetingService
if ($audience === 'parent' && $parentUserId) {
$studentIds = $this->getStudentIdsForParent($parentUserId);
if (! empty($studentIds)) {
if (!empty($studentIds)) {
$fallback->where(function (Builder $q) use ($parentUserId, $studentIds) {
$q->where('parent_user_id', $parentUserId)
->orWhereIn('student_id', $studentIds);