add school calendar logic
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Unit\Services\Settings\SchoolCalendar;
|
||||
|
||||
use App\Services\Settings\SchoolCalendar\SchoolCalendarContextService;
|
||||
use Tests\TestCase;
|
||||
|
||||
class SchoolCalendarContextServiceTest extends TestCase
|
||||
{
|
||||
public function test_event_types_returns_list(): void
|
||||
{
|
||||
$service = new SchoolCalendarContextService();
|
||||
$types = $service->eventTypes();
|
||||
|
||||
$this->assertNotEmpty($types);
|
||||
$this->assertContains('Event', $types);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user