fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 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,10 +22,9 @@ 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'],