Skip to content

A free open source IT asset/license management system

fix test: change hasTo to hasCc

Godfrey M3527b86b6db5
diff --git a/tests/Feature/Notifications/Email/EmailNotificationsToAdminAlertEmailUponCheckinTest.php b/tests/Feature/Notifications/Email/EmailNotificationsToAdminAlertEmailUponCheckinTest.php
index cc9a6cb244..5125980187 100644
--- a/tests/Feature/Notifications/Email/EmailNotificationsToAdminAlertEmailUponCheckinTest.php
+++ b/tests/Feature/Notifications/Email/EmailNotificationsToAdminAlertEmailUponCheckinTest.php
@@ -56,7 +56,7 @@ class EmailNotificationsToAdminAlertEmailUponCheckinTest extends TestCase
return $mail->hasTo($this->user->email);
});
Mail::assertSent(CheckinAssetMail::class, function ($mail) {
- return $mail->hasTo('[email protected]');
+ return $mail->hasCc('[email protected]');
});
}