Change subject to "You have Unaccepted Assets."

This commit is contained in:
Marcus Moore 2025-02-24 11:45:23 -08:00
parent 7cbb3f7e07
commit 027c2b3627
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -118,6 +118,6 @@ class CheckoutAssetMail extends Mailable
return trans('mail.Asset_Checkout_Notification');
}
return trans('mail.Asset_Checkout_Reminder_Notification');
return trans('mail.unaccepted_asset_reminder');
}
}

View file

@ -95,7 +95,7 @@ class AssetAcceptanceReminderTest extends TestCase
Mail::assertSent(CheckoutAssetMail::class, 1);
Mail::assertSent(CheckoutAssetMail::class, function (CheckoutAssetMail $mail) use ($checkoutAcceptance) {
return $mail->hasTo($checkoutAcceptance->assignedTo->email)
&& $mail->hasSubject('Reminder: ' . trans('mail.Asset_Checkout_Notification'));
&& $mail->hasSubject(trans('mail.unaccepted_asset_reminder'));
});
}