Fix Pint formatting

This commit is contained in:
root
2026-06-09 01:25:14 -04:00
parent 6be4875c5e
commit 20a0b6c4e5
1485 changed files with 11318 additions and 10273 deletions
@@ -2,6 +2,7 @@
namespace Tests\Unit\Services\Promotions;
use App\Models\LevelProgression;
use App\Models\StudentPromotionRecord;
use App\Services\Promotions\LevelProgressionService;
use App\Services\Promotions\PromotionAuditService;
@@ -75,7 +76,7 @@ class PromotionEligibilityServiceTest extends TestCase
$this->seedDecision($studentId, '2025-2026', 90.0, 'promoted');
// Mark Youth as terminal
\App\Models\LevelProgression::query()->where('current_level_name', 'Youth')->update(['is_terminal' => 1]);
LevelProgression::query()->where('current_level_name', 'Youth')->update(['is_terminal' => 1]);
$service = $this->makeService();
$record = $service->evaluateStudent($studentId, '2025-2026', 1);
@@ -108,9 +109,10 @@ class PromotionEligibilityServiceTest extends TestCase
private function makeService(): PromotionEligibilityService
{
$progression = new LevelProgressionService();
$audit = new PromotionAuditService();
$progression = new LevelProgressionService;
$audit = new PromotionAuditService;
$status = new PromotionStatusService($audit);
return new PromotionEligibilityService($progression, $status, $audit);
}
@@ -173,4 +175,4 @@ class PromotionEligibilityServiceTest extends TestCase
'updated_at' => now(),
]);
}
}
}