fix parent pages and teachers and admin
API CI/CD / Validate (composer + pint) (push) Successful in 3m8s
API CI/CD / Build frontend assets (push) Successful in 1m2s
API CI/CD / Test (PHPUnit) (push) Failing after 6m5s
API CI/CD / Security audit (push) Failing after 52s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
API CI/CD / Validate (composer + pint) (push) Successful in 3m8s
API CI/CD / Build frontend assets (push) Successful in 1m2s
API CI/CD / Test (PHPUnit) (push) Failing after 6m5s
API CI/CD / Security audit (push) Failing after 52s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
This commit is contained in:
@@ -28,6 +28,7 @@ class TeacherControllerTest extends TestCase
|
||||
$response->assertJson(['ok' => true]);
|
||||
$this->assertNotEmpty($response->json('students'));
|
||||
$this->assertSame($classSectionId, $response->json('active_class_section_id'));
|
||||
$this->assertSame($classSectionId, session('class_section_id'));
|
||||
}
|
||||
|
||||
public function test_switch_class_returns_active_id(): void
|
||||
@@ -44,6 +45,7 @@ class TeacherControllerTest extends TestCase
|
||||
|
||||
$response->assertOk();
|
||||
$response->assertJsonPath('active_class_section_id', $classSectionId);
|
||||
$this->assertSame($classSectionId, session('class_section_id'));
|
||||
}
|
||||
|
||||
public function test_absence_submit_creates_staff_attendance(): void
|
||||
|
||||
Reference in New Issue
Block a user