Skip to content

A free open source IT asset/license management system

Remove unneeded factory state

Marcus Moore9a93ad2e06ef
diff --git a/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckinTest.php b/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckinTest.php
index 8d8bf3a6e0..be6b9f8113 100644
--- a/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckinTest.php
+++ b/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckinTest.php
@@ -52,7 +52,7 @@ class SlackNotificationsUponCheckinTest extends TestCase
$this->settings->enableSlackWebhook();
$this->fireCheckInEvent(
- Accessory::factory()->appleBtKeyboard()->create(),
+ Accessory::factory()->create(),
User::factory()->create(),
);
@@ -64,7 +64,7 @@ class SlackNotificationsUponCheckinTest extends TestCase
$this->settings->disableSlackWebhook();
$this->fireCheckInEvent(
- Accessory::factory()->appleBtKeyboard()->create(),
+ Accessory::factory()->create(),
User::factory()->create(),
);