A free open source IT asset/license management system
add tag to other notification test
Godfrey M1974fccac390
diff --git a/tests/Unit/NotificationTest.php b/tests/Unit/NotificationTest.phpindex 5b420a6753..302c0b3a8b 100644--- a/tests/Unit/NotificationTest.php+++ b/tests/Unit/NotificationTest.php@@ -31,8 +31,8 @@ class NotificationTest extends TestCaseMail::fake();$asset->checkOut($user, $admin->id);- Mail::assertSent(CheckoutAssetMail::class, function (CheckoutAssetMail $mail) use ($user) {- return $mail->hasTo($user->email) && $mail->hasSubject(trans('mail.Asset_Checkout_Notification'));+ Mail::assertSent(CheckoutAssetMail::class, function (CheckoutAssetMail $mail) use ($user, $asset) {+ return $mail->hasTo($user->email) && $mail->hasSubject(trans('mail.Asset_Checkout_Notification', ['tag' => $asset->asset_tag]));});}public function testDefaultEulaIsSentWhenSetInCategory()