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
@@ -18,7 +18,7 @@ class StudentAssignmentServiceTest extends TestCase
$studentId = $this->seedStudent();
$classSectionId = $this->seedClassSection();
$service = new StudentAssignmentService(new StudentConfigService());
$service = new StudentAssignmentService(new StudentConfigService);
$result = $service->assignClasses($studentId, [$classSectionId], false);
$this->assertTrue($result['ok']);
@@ -44,7 +44,7 @@ class StudentAssignmentServiceTest extends TestCase
'updated_at' => now(),
]);
$service = new StudentAssignmentService(new StudentConfigService());
$service = new StudentAssignmentService(new StudentConfigService);
$result = $service->removeClass($studentId, $classSectionId);
$this->assertTrue($result['ok']);