fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
@@ -7,19 +7,12 @@ use App\Models\ClassSection;
class ClassPreparationService
{
private ClassPreparationContextService $context;
private ClassPreparationRosterService $roster;
private ClassPreparationInventoryService $inventory;
private ClassPreparationCalculatorService $calculator;
private ClassPreparationAdjustmentService $adjustments;
private ClassPreparationLogService $logs;
private ClassPreparationAdjustmentWriterService $adjustmentWriter;
private ClassPreparationPrintService $printService;
public function __construct(
@@ -73,14 +66,14 @@ class ClassPreparationService
$hasChanged = $this->logs->hasPrepChanged($baseItems, $oldPrep);
$results[] = [
'class_section' => $className,
'class_section' => $className,
'class_section_id' => $classSectionId,
'student_count' => $studentCount,
'class_level' => $classLevel,
'prep_items' => $baseItems,
'needs_print' => $hasChanged,
'last_printed_at' => $oldSnap?->created_at,
'adjustments' => $adjMap,
'student_count' => $studentCount,
'class_level' => $classLevel,
'prep_items' => $baseItems,
'needs_print' => $hasChanged,
'last_printed_at' => $oldSnap?->created_at,
'adjustments' => $adjMap,
];
}
@@ -146,7 +139,6 @@ class ClassPreparationService
if (function_exists('utc_now')) {
return (string) utc_now();
}
return now('UTC')->toDateTimeString();
}
}