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
+4 -4
View File
@@ -66,7 +66,7 @@ class AttendanceDataTest extends TestCase
'modified_by' => null,
]);
$model = new AttendanceData;
$model = new AttendanceData();
$rows = $model->getAttendanceByClass(1, 2, '2024-09-01');
$this->assertCount(1, $rows);
@@ -125,7 +125,7 @@ class AttendanceDataTest extends TestCase
],
]);
$model = new AttendanceData;
$model = new AttendanceData();
$rows = $model->unreportedTermRows([1, 2, 3], '2024-2025', 'Fall');
$this->assertCount(1, $rows);
@@ -182,7 +182,7 @@ class AttendanceDataTest extends TestCase
],
]);
$model = new AttendanceData;
$model = new AttendanceData();
$rows = $model->getUnreportedAbsencesAndLates('2024-2025', 'Fall');
$this->assertArrayHasKey(10, $rows);
@@ -209,7 +209,7 @@ class AttendanceDataTest extends TestCase
'updated_at' => now(),
]);
$model = new AttendanceData;
$model = new AttendanceData();
$result = $model->markReportedAndNotified(20, ['2024-09-10'], 'Fall', '2024-2025');
$this->assertTrue($result);