A free open source IT asset/license management system
Change subject to "You have Unaccepted Assets."
Marcus Moore027c2b36276d
diff --git a/app/Mail/CheckoutAssetMail.php b/app/Mail/CheckoutAssetMail.phpindex eb9619217f..1447dfd6f5 100644--- a/app/Mail/CheckoutAssetMail.php+++ b/app/Mail/CheckoutAssetMail.php@@ -118,6 +118,6 @@ class CheckoutAssetMail extends Mailablereturn trans('mail.Asset_Checkout_Notification');}- return trans('mail.Asset_Checkout_Reminder_Notification');+ return trans('mail.unaccepted_asset_reminder');}}diff --git a/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.php b/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.phpindex 85915352b7..deb3e07d2c 100644--- a/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.php+++ b/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.php@@ -95,7 +95,7 @@ class AssetAcceptanceReminderTest extends TestCaseMail::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'));});}