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
@@ -34,7 +34,7 @@ class UserNotificationDispatchServiceTest extends TestCase
'school_year' => '2025-2026',
]);
$service = new UserNotificationDispatchService;
$service = new UserNotificationDispatchService();
$result = $service->notifyUser(1, 'Title', 'Message', ['in_app'], 'registration', 'parent');
$this->assertTrue($result['ok']);
@@ -50,7 +50,7 @@ class UserNotificationDispatchServiceTest extends TestCase
public function test_notify_user_rejects_invalid_user(): void
{
$service = new UserNotificationDispatchService;
$service = new UserNotificationDispatchService();
$result = $service->notifyUser(0, 'Title', 'Message');
$this->assertFalse($result['ok']);