fix logic and tests, update docker CI file
This commit is contained in:
@@ -68,7 +68,7 @@ class StaffAttendanceServiceTest extends TestCase
|
||||
|
||||
DB::table('calendar_events')->insert([
|
||||
'title' => 'No School',
|
||||
'date' => '2025-09-14',
|
||||
'date' => '2025-09-21',
|
||||
'no_school' => 1,
|
||||
'semester' => 'Fall',
|
||||
'school_year' => '2025-2026',
|
||||
@@ -85,6 +85,6 @@ class StaffAttendanceServiceTest extends TestCase
|
||||
$payload = $service->monthData('Fall', '2025-2026');
|
||||
|
||||
$this->assertNotEmpty($payload['sections']);
|
||||
$this->assertContains('2025-09-14', $payload['noSchoolDays']);
|
||||
$this->assertContains('2025-09-21', $payload['noSchoolDays']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user