Skip to content

Instantly share code, notes, and snippets.

@marxjohnson
Created June 28, 2024 11:19
Show Gist options
  • Save marxjohnson/3453b3939cbbeff43f940663fe70344e to your computer and use it in GitHub Desktop.
Save marxjohnson/3453b3939cbbeff43f940663fe70344e to your computer and use it in GitHub Desktop.
return [
[
// Create a user with empty email address.
[
'email' => '',
'username' => 'testuser',
],
"Sending messages to testuser (%d)\n".
" Failed to send post %d\n".
"Sent 0 messages with 1 failures\n".
"Failed to send emails for the user with id %d because of empty email address, Skipping re queuing of the task\n",
2,
[
"Can not send email to user without email: %d",
"Error calling message processor email"
],
false,
],
[
// Next case here
],
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment