diff --git a/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckinTest.php b/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckinTest.php index 372f212c03..b352574ff6 100644 --- a/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckinTest.php +++ b/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckinTest.php @@ -77,7 +77,7 @@ class SlackNotificationsUponCheckinTest extends TestCase $this->settings->enableSlackWebhook(); $this->fireCheckInEvent( - Asset::factory()->laptopMbp()->create(), + Asset::factory()->create(), $checkoutTarget(), ); @@ -90,7 +90,7 @@ class SlackNotificationsUponCheckinTest extends TestCase $this->settings->disableSlackWebhook(); $this->fireCheckInEvent( - Asset::factory()->laptopMbp()->create(), + Asset::factory()->create(), $checkoutTarget(), ); @@ -102,7 +102,7 @@ class SlackNotificationsUponCheckinTest extends TestCase $this->settings->enableSlackWebhook(); $this->fireCheckInEvent( - Component::factory()->ramCrucial8()->create(), + Component::factory()->create(), Asset::factory()->laptopMbp()->create(), ); diff --git a/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckoutTest.php b/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckoutTest.php index 58570f90e7..91d2917844 100644 --- a/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckoutTest.php +++ b/tests/Feature/Notifications/Webhooks/SlackNotificationsUponCheckoutTest.php @@ -54,7 +54,7 @@ class SlackNotificationsUponCheckoutTest extends TestCase $this->settings->enableSlackWebhook(); $this->fireCheckOutEvent( - Accessory::factory()->appleBtKeyboard()->create(), + Accessory::factory()->create(), User::factory()->create(), ); @@ -66,7 +66,7 @@ class SlackNotificationsUponCheckoutTest extends TestCase $this->settings->disableSlackWebhook(); $this->fireCheckOutEvent( - Accessory::factory()->appleBtKeyboard()->create(), + Accessory::factory()->create(), User::factory()->create(), ); @@ -79,7 +79,7 @@ class SlackNotificationsUponCheckoutTest extends TestCase $this->settings->enableSlackWebhook(); $this->fireCheckOutEvent( - Asset::factory()->laptopMbp()->create(), + Asset::factory()->create(), $checkoutTarget(), ); @@ -92,7 +92,7 @@ class SlackNotificationsUponCheckoutTest extends TestCase $this->settings->disableSlackWebhook(); $this->fireCheckOutEvent( - Asset::factory()->laptopMbp()->create(), + Asset::factory()->create(), $checkoutTarget(), ); @@ -104,7 +104,7 @@ class SlackNotificationsUponCheckoutTest extends TestCase $this->settings->enableSlackWebhook(); $this->fireCheckOutEvent( - Component::factory()->ramCrucial8()->create(), + Component::factory()->create(), Asset::factory()->laptopMbp()->create(), ); @@ -116,7 +116,7 @@ class SlackNotificationsUponCheckoutTest extends TestCase $this->settings->enableSlackWebhook(); $this->fireCheckOutEvent( - Consumable::factory()->cardstock()->create(), + Consumable::factory()->create(), User::factory()->create(), ); @@ -128,7 +128,7 @@ class SlackNotificationsUponCheckoutTest extends TestCase $this->settings->disableSlackWebhook(); $this->fireCheckOutEvent( - Consumable::factory()->cardstock()->create(), + Consumable::factory()->create(), User::factory()->create(), );