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
@@ -31,7 +31,8 @@ class BroadcastEmailControllerTest extends TestCase
{
$this->seedParentData();
$fake = new class extends EmailService {
$fake = new class extends EmailService
{
public array $sent = [];
public function send(
@@ -41,9 +42,9 @@ class BroadcastEmailControllerTest extends TestCase
string $fromKey = 'general',
array $cc = [],
array $bcc = []
): bool
{
): bool {
$this->sent[] = compact('to', 'subject', 'html', 'fromKey', 'cc', 'bcc');
return true;
}
};