Skip to content

Commit 1c04f43

Browse files
committed
add metadata
1 parent ea8b96e commit 1c04f43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mail.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,6 +1341,7 @@ Mail::assertSent(OrderShipped::class, function (OrderShipped $mail) use ($user)
13411341
$mail->hasReplyTo('...') &&
13421342
$mail->hasFrom('...') &&
13431343
$mail->hasSubject('...') &&
1344+
$mail->hasMetadata('order_id', $mail->order->id);
13441345
$mail->usesMailer('ses');
13451346
});
13461347
```

0 commit comments

Comments
 (0)