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
@@ -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']);
@@ -15,7 +15,7 @@ class StudentProfileServiceTest extends TestCase
{
$studentId = $this->seedStudent();
$service = new StudentProfileService;
$service = new StudentProfileService();
$result = $service->updateStudent($studentId, [
'firstname' => 'Lee',
'lastname' => 'Student',
@@ -33,7 +33,7 @@ class StudentScoreCardServiceTest extends TestCase
'created_at' => now(),
]);
$service = new StudentScoreCardService;
$service = new StudentScoreCardService();
$result = $service->scoreCard($studentId);
$this->assertTrue($result['ok']);