Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[6.x] Add mailable names to assertion messages #31106
This PR just adds the names of any mailables which were sent or queued to the
My reason for wanting to add this in is previously you would get a message of 'Mailables were queued unexpectedly.' which left the question 'Well, what were they?'. So I've made it print something a little more descriptive like 'The following Mailables were queued unexpectedly: Illuminate\Tests\Support\MailableStub'.
I've made it two commits as there wasn't originally a test for the