fix parent, teacher and admin pages
This commit is contained in:
@@ -39,6 +39,7 @@ class SchoolCalendarControllerTest extends TestCase
|
||||
$response->assertOk();
|
||||
$response->assertJsonPath('status', true);
|
||||
$this->assertNotEmpty($response->json('data.events'));
|
||||
$this->assertArrayHasKey('backgroundColor', $response->json('data.events.0'));
|
||||
$this->assertArrayHasKey('extendedProps', $response->json('data.events.0'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user