add test batches

This commit is contained in:
root
2026-06-08 23:45:55 -04:00
parent c792b8be05
commit 8d4d610b82
1480 changed files with 22587 additions and 10762 deletions
@@ -22,8 +22,8 @@ class ClassProgressMutationServiceTest extends TestCase
$this->assignTeacher($user->id, 101);
$service = new ClassProgressMutationService(
new ClassProgressRuleService,
new ClassProgressAttachmentService
new ClassProgressRuleService(),
new ClassProgressAttachmentService()
);
$payload = [
@@ -47,8 +47,8 @@ class ClassProgressMutationServiceTest extends TestCase
]);
$service = new ClassProgressMutationService(
new ClassProgressRuleService,
new ClassProgressAttachmentService
new ClassProgressRuleService(),
new ClassProgressAttachmentService()
);
$updated = $service->updateReport($report, ['status' => 'behind'], []);
@@ -60,8 +60,8 @@ class ClassProgressMutationServiceTest extends TestCase
{
$report = ClassProgressReport::factory()->create();
$service = new ClassProgressMutationService(
new ClassProgressRuleService,
new ClassProgressAttachmentService
new ClassProgressRuleService(),
new ClassProgressAttachmentService()
);
$service->deleteReport($report);