Say I'm sending an email with \Illuminate\Support\Facades\Mail::send(). How would I test this to see if an email had in fact been sent?
https://laravel.com/docs/5.8/mocking#mail-fake mentions Mail::assertSent() but that requires you a pass to it a @param string $mailable variable and idk what that variable would need to be with Mail::send().
Any ideas?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2u955ia
via IFTTT
Aucun commentaire:
Enregistrer un commentaire