diff --git a/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckinTest.php b/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckinTest.php index be6b9f8113..c03d9a30aa 100644 --- a/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckinTest.php +++ b/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckinTest.php @@ -168,6 +168,6 @@ class SlackNotificationsUponCheckinTest extends TestCase private function assertNoSlackNotificationSent(string $notificationClass) { - Notification::assertNotSentTo(new AnonymousNotifiable, CheckinAccessoryNotification::class); + Notification::assertNotSentTo(new AnonymousNotifiable, $notificationClass); } }