add school calendar logic

This commit is contained in:
root
2026-03-10 16:55:50 -04:00
parent 311bb93977
commit abebe0d9c0
25 changed files with 1358 additions and 750 deletions
@@ -0,0 +1,21 @@
<?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);
}
}