diff --git a/tests/Feature/Checkouts/Ui/AccessoryCheckoutTest.php b/tests/Feature/Checkouts/Ui/AccessoryCheckoutTest.php index 6822aa96ae..c7d86de085 100644 --- a/tests/Feature/Checkouts/Ui/AccessoryCheckoutTest.php +++ b/tests/Feature/Checkouts/Ui/AccessoryCheckoutTest.php @@ -71,7 +71,7 @@ class AccessoryCheckoutTest extends TestCase public function testAccessoryCanBeCheckedOutWithQuantity() { - $accessory = Accessory::factory()->count(5)->create(); + $accessory = Accessory::factory()->create(['qty'=>5]); $user = User::factory()->create(); $this->actingAs(User::factory()->checkoutAccessories()->create())