fix parent, teacher and admin pages

This commit is contained in:
root
2026-04-25 00:00:23 -04:00
parent 4cd98f1d30
commit eafe4eb134
30 changed files with 1566 additions and 105 deletions
@@ -14,6 +14,7 @@ class SchoolCalendarEventResourceTest extends TestCase
'title' => 'Event',
'start' => '2026-01-01',
'description' => 'Desc',
'backgroundColor' => '#28a745',
'extendedProps' => ['no_school' => 0],
]);
@@ -23,6 +24,8 @@ class SchoolCalendarEventResourceTest extends TestCase
$this->assertArrayHasKey('title', $payload);
$this->assertArrayHasKey('start', $payload);
$this->assertArrayHasKey('description', $payload);
$this->assertArrayHasKey('backgroundColor', $payload);
$this->assertArrayHasKey('extendedProps', $payload);
$this->assertSame('#28a745', $payload['backgroundColor']);
}
}