mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Change subject to "You have Unaccepted Assets."
This commit is contained in:
parent
7cbb3f7e07
commit
027c2b3627
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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'));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue