add test batches
This commit is contained in:
@@ -50,8 +50,7 @@ class CommunicationControllerTest extends TestCase
|
||||
{
|
||||
$this->seedCommunicationData();
|
||||
|
||||
$fake = new class extends EmailService
|
||||
{
|
||||
$fake = new class extends EmailService {
|
||||
public array $sent = [];
|
||||
|
||||
public function send(
|
||||
@@ -63,7 +62,6 @@ class CommunicationControllerTest extends TestCase
|
||||
array $bcc = []
|
||||
): bool {
|
||||
$this->sent[] = compact('to', 'subject', 'html', 'fromKey', 'cc', 'bcc');
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user