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
@@ -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);