security fix and fix parent pages
API CI/CD / Validate (composer + pint) (push) Successful in 3m7s
API CI/CD / Test (PHPUnit) (push) Failing after 5m46s
API CI/CD / Build frontend assets (push) Successful in 1m2s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
API CI/CD / Validate (composer + pint) (push) Successful in 3m7s
API CI/CD / Test (PHPUnit) (push) Failing after 5m46s
API CI/CD / Build frontend assets (push) Successful in 1m2s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
This commit is contained in:
@@ -52,15 +52,28 @@ class ParentAttendanceServiceTest extends TestCase
|
||||
]);
|
||||
|
||||
DB::table('attendance_data')->insert([
|
||||
'class_id' => 1,
|
||||
'class_section_id' => 1,
|
||||
'student_id' => $studentId,
|
||||
'school_id' => '1',
|
||||
'date' => '2025-10-02',
|
||||
'status' => 'late',
|
||||
'reason' => 'Traffic',
|
||||
'semester' => 'Fall',
|
||||
'school_year' => '2025-2026',
|
||||
[
|
||||
'class_id' => 1,
|
||||
'class_section_id' => 1,
|
||||
'student_id' => $studentId,
|
||||
'school_id' => '1',
|
||||
'date' => '2025-10-02',
|
||||
'status' => 'late',
|
||||
'reason' => 'Traffic',
|
||||
'semester' => 'Fall',
|
||||
'school_year' => '2025-2026',
|
||||
],
|
||||
[
|
||||
'class_id' => 1,
|
||||
'class_section_id' => 1,
|
||||
'student_id' => $studentId,
|
||||
'school_id' => '1',
|
||||
'date' => '2025-10-01',
|
||||
'status' => 'present',
|
||||
'reason' => null,
|
||||
'semester' => 'Fall',
|
||||
'school_year' => '2025-2026',
|
||||
],
|
||||
]);
|
||||
|
||||
$service = new ParentAttendanceService(new ParentConfigService);
|
||||
|
||||
Reference in New Issue
Block a user