billing: Blindkopie der Zahlungsbestätigung an LEGAL_CONTACT_EMAIL
Interner Beleg über jede versendete Buchungsbestätigung im Rechts-/Service-Postfach (config legal.contact_email). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
71b247ba18
commit
f1dcb9cd6b
2 changed files with 6 additions and 0 deletions
|
|
@ -177,6 +177,7 @@ test('a mirrored invoice queues a payment confirmation mail to the customer', fu
|
|||
|
||||
Mail::assertQueued(BookingPaymentConfirmed::class, function (BookingPaymentConfirmed $mail) use ($user) {
|
||||
return $mail->hasTo($user->email)
|
||||
&& $mail->hasBcc(config('legal.contact_email'))
|
||||
&& $mail->invoice->number === 'STR-00001';
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue