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
@@ -15,7 +15,7 @@ class GradebookFinalizationValidator
$errors = [];
foreach ($this->scoreTables() as $table => $meta) {
if (! DB::getSchemaBuilder()->hasTable($table)) {
if (!DB::getSchemaBuilder()->hasTable($table)) {
continue;
}
@@ -16,7 +16,7 @@ class ScoreValueValidator
$max = $this->normalizeMaxPoints($maxPoints, $label);
if (! is_numeric($value)) {
if (!is_numeric($value)) {
throw new InvalidArgumentException("{$label} must be numeric.");
}
@@ -34,7 +34,6 @@ class ScoreValueValidator
if ($max <= 0) {
throw new InvalidArgumentException("{$label} max points must be greater than 0.");
}
return $max;
}