add tests batch 20

This commit is contained in:
root
2026-06-09 01:03:53 -04:00
parent 95efb9652e
commit 6be4875c5e
1502 changed files with 13797 additions and 11313 deletions
@@ -14,7 +14,7 @@ class WhatsappInviteNotificationServiceTest extends TestCase
public function test_dispatch_returns_error_when_no_listeners(): void
{
$service = new WhatsappInviteNotificationService;
$service = new WhatsappInviteNotificationService();
$result = $service->dispatch([], '2025-2026', 'Fall');
$this->assertFalse($result['ok']);
@@ -22,9 +22,10 @@ class WhatsappInviteNotificationServiceTest extends TestCase
public function test_dispatch_triggers_event_when_listener_registered(): void
{
Event::listen(WhatsappInvitesSend::class, static function () {});
Event::listen(WhatsappInvitesSend::class, static function () {
});
$service = new WhatsappInviteNotificationService;
$service = new WhatsappInviteNotificationService();
$result = $service->dispatch([[
'parent' => ['id' => 10],
'emails' => ['parent1@example.com'],