Files
2026-03-10 16:55:50 -04:00

22 lines
588 B
PHP

<?php
namespace Tests\Unit\Services\Settings\SchoolCalendar;
use App\Services\EmailService;
use App\Services\Settings\SchoolCalendar\SchoolCalendarNotificationService;
use Mockery;
use Tests\TestCase;
class SchoolCalendarNotificationServiceTest extends TestCase
{
public function test_notify_returns_empty_when_no_targets(): void
{
$emailService = Mockery::mock(EmailService::class);
$service = new SchoolCalendarNotificationService($emailService);
$result = $service->notify(['title' => 'Event'], []);
$this->assertSame([], $result);
}
}