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
@@ -9,9 +9,7 @@ use Illuminate\Support\Facades\DB;
class StudentAutoDistributionService
{
public function __construct(private StudentConfigService $configService)
{
}
public function __construct(private StudentConfigService $configService) {}
public function promotionTotals(?string $schoolYear = null): array
{
@@ -30,6 +28,7 @@ class StudentAutoDistributionService
$name = strtolower($nameRaw);
if ($name === 'kg' || $name === 'youth') {
$wanted[] = $row;
continue;
}
if (ctype_digit($name)) {
@@ -167,6 +166,7 @@ class StudentAutoDistributionService
$bestIdx = $idx;
}
}
return $bestIdx;
};