This commit is contained in:
@@ -99,6 +99,7 @@ final class SchoolYearContextServiceTest extends CIUnitTestCase
|
||||
session()->set('selected_school_year_id', 1);
|
||||
session()->set('class_section_id', 44);
|
||||
session()->set('semester', 'Fall');
|
||||
session()->set('active_school_year', '2025-2026');
|
||||
|
||||
$service = new SchoolYearContextService(new SchoolYearContextFakeModel([
|
||||
1 => ['id' => 1, 'name' => '2025-2026', 'status' => 'closed'],
|
||||
@@ -113,5 +114,6 @@ final class SchoolYearContextServiceTest extends CIUnitTestCase
|
||||
$this->assertNull(session()->get('selected_school_year_id'));
|
||||
$this->assertNull(session()->get('class_section_id'));
|
||||
$this->assertNull(session()->get('semester'));
|
||||
$this->assertNull(session()->get('active_school_year'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user