Fix Laravel Pint formatting
This commit is contained in:
@@ -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(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user