fix logic and tests, update docker CI file
This commit is contained in:
@@ -49,7 +49,12 @@ class InvoiceManagementServiceTest extends TestCase
|
||||
'parent_id' => 10,
|
||||
'firstname' => 'Kid',
|
||||
'lastname' => 'User',
|
||||
'school_id' => 1,
|
||||
'school_id' => 'S1',
|
||||
'age' => 8,
|
||||
'gender' => 'Male',
|
||||
'photo_consent' => 1,
|
||||
'year_of_registration' => '2025',
|
||||
'school_year' => '2025-2026',
|
||||
'is_active' => 1,
|
||||
]);
|
||||
|
||||
@@ -57,11 +62,14 @@ class InvoiceManagementServiceTest extends TestCase
|
||||
'class_section_id' => 1,
|
||||
'class_section_name' => '1A',
|
||||
'class_id' => 1,
|
||||
'semester' => 'Fall',
|
||||
'school_year' => '2025-2026',
|
||||
]);
|
||||
|
||||
DB::table('student_class')->insert([
|
||||
'student_id' => 100,
|
||||
'class_section_id' => 1,
|
||||
'semester' => 'Fall',
|
||||
'school_year' => '2025-2026',
|
||||
'is_event_only' => 0,
|
||||
]);
|
||||
@@ -70,7 +78,9 @@ class InvoiceManagementServiceTest extends TestCase
|
||||
'student_id' => 100,
|
||||
'parent_id' => 10,
|
||||
'class_section_id' => 1,
|
||||
'enrollment_date' => '2025-01-01',
|
||||
'enrollment_status' => 'enrolled',
|
||||
'semester' => 'Fall',
|
||||
'school_year' => '2025-2026',
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user