Improve test method name

This commit is contained in:
Marcus Moore 2024-01-30 12:43:07 -08:00
parent 6d41c8cf67
commit 3f76d65b95
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ class AccessoryCheckoutTest extends TestCase
->assertForbidden();
}
public function testValidation()
public function testValidationWhenCheckingOutAccessory()
{
$this->actingAsForApi(User::factory()->checkoutAccessories()->create())
->postJson(route('api.accessories.checkout', Accessory::factory()->create()), [

View file

@ -21,7 +21,7 @@ class AccessoryCheckoutTest extends TestCase
->assertForbidden();
}
public function testValidation()
public function testValidationWhenCheckingOutAccessory()
{
$this->actingAs(User::factory()->checkoutAccessories()->create())
->post(route('accessories.checkout.store', Accessory::factory()->create()), [