From 3f76d65b95c6c86fd92a6a859d764a68a4e58769 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Tue, 30 Jan 2024 12:43:07 -0800 Subject: [PATCH] Improve test method name --- tests/Feature/Api/Accessories/AccessoryCheckoutTest.php | 2 +- tests/Feature/Checkouts/AccessoryCheckoutTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()), [