fix logic and tests, update docker CI file
This commit is contained in:
@@ -22,9 +22,9 @@ class AssignmentMetaServiceTest extends TestCase
|
||||
public function test_get_school_years_returns_distinct_sorted(): void
|
||||
{
|
||||
DB::table('teacher_class')->insert([
|
||||
['class_section_id' => 101, 'teacher_id' => 1, 'position' => 'main', 'school_year' => '2024-2025'],
|
||||
['class_section_id' => 102, 'teacher_id' => 2, 'position' => 'main', 'school_year' => '2025-2026'],
|
||||
['class_section_id' => 103, 'teacher_id' => 3, 'position' => 'main', 'school_year' => '2025-2026'],
|
||||
['class_section_id' => 101, 'teacher_id' => 1, 'position' => 'main', 'school_year' => '2024-2025', 'semester' => 'Fall'],
|
||||
['class_section_id' => 102, 'teacher_id' => 2, 'position' => 'main', 'school_year' => '2025-2026', 'semester' => 'Fall'],
|
||||
['class_section_id' => 103, 'teacher_id' => 3, 'position' => 'main', 'school_year' => '2025-2026', 'semester' => 'Fall'],
|
||||
]);
|
||||
|
||||
$service = new AssignmentMetaService();
|
||||
|
||||
Reference in New Issue
Block a user