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
@@ -10,7 +10,7 @@ class ScoreValueValidatorTest extends TestCase
{
public function test_blank_score_remains_null(): void
{
$validator = new ScoreValueValidator();
$validator = new ScoreValueValidator;
$this->assertNull($validator->normalizeNullable('', 100));
$this->assertNull($validator->normalizeNullable(null, 100));
@@ -18,7 +18,7 @@ class ScoreValueValidatorTest extends TestCase
public function test_score_must_be_inside_range(): void
{
$validator = new ScoreValueValidator();
$validator = new ScoreValueValidator;
$this->assertSame(95.0, $validator->normalizeNullable('95', 100));
@@ -28,7 +28,7 @@ class ScoreValueValidatorTest extends TestCase
public function test_status_inference_preserves_legacy_pending_behavior(): void
{
$validator = new ScoreValueValidator();
$validator = new ScoreValueValidator;
$this->assertSame('scored', $validator->inferStatus(80.0));
$this->assertSame('pending', $validator->inferStatus(null, false));