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
@@ -23,7 +23,7 @@ class MessageCommandServiceTest extends TestCase
$sender = $this->createUser('sender@example.com');
$recipient = $this->createUser('recipient@example.com');
$service = new MessageCommandService(new GlobalConfigService);
$service = new MessageCommandService(new GlobalConfigService());
$message = $service->create($sender->id, [
'recipient_id' => $recipient->id,
'subject' => 'Subject',
@@ -41,7 +41,7 @@ class MessageCommandServiceTest extends TestCase
{
$sender = $this->createUser('sender2@example.com');
$service = new MessageCommandService(new GlobalConfigService);
$service = new MessageCommandService(new GlobalConfigService());
$this->expectException(\RuntimeException::class);
$service->create($sender->id, [