19 lines
469 B
PHP
19 lines
469 B
PHP
<?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);
|
|
}
|
|
}
|