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