diff --git a/tests/Feature/Api/Accessories/AccessoryCheckoutTest.php b/tests/Feature/Api/Accessories/AccessoryCheckoutTest.php index f4f49f0dbc35..d65a3ad613f2 100644 --- a/tests/Feature/Api/Accessories/AccessoryCheckoutTest.php +++ b/tests/Feature/Api/Accessories/AccessoryCheckoutTest.php @@ -21,7 +21,7 @@ public function testCheckingOutAccessoryRequiresCorrectPermission() ->assertForbidden(); } - public function testValidation() + public function testValidationWhenCheckingOutAccessory() { $this->actingAsForApi(User::factory()->checkoutAccessories()->create()) ->postJson(route('api.accessories.checkout', Accessory::factory()->create()), [ diff --git a/tests/Feature/Checkouts/AccessoryCheckoutTest.php b/tests/Feature/Checkouts/AccessoryCheckoutTest.php index 74269bfbb920..cbe9801cc05d 100644 --- a/tests/Feature/Checkouts/AccessoryCheckoutTest.php +++ b/tests/Feature/Checkouts/AccessoryCheckoutTest.php @@ -21,7 +21,7 @@ public function testCheckingOutAccessoryRequiresCorrectPermission() ->assertForbidden(); } - public function testValidation() + public function testValidationWhenCheckingOutAccessory() { $this->actingAs(User::factory()->checkoutAccessories()->create()) ->post(route('accessories.checkout.store', Accessory::factory()->create()), [