Remove unneeded factory states

This commit is contained in:
Marcus Moore 2024-02-27 18:03:53 -08:00
parent 8978dff054
commit 03b7891edc
No known key found for this signature in database
2 changed files with 10 additions and 10 deletions

View file

@ -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(),
);

View file

@ -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(),
);