mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Improve test method name
This commit is contained in:
parent
6d41c8cf67
commit
3f76d65b95
|
@ -21,7 +21,7 @@ class AccessoryCheckoutTest extends TestCase
|
||||||
->assertForbidden();
|
->assertForbidden();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testValidation()
|
public function testValidationWhenCheckingOutAccessory()
|
||||||
{
|
{
|
||||||
$this->actingAsForApi(User::factory()->checkoutAccessories()->create())
|
$this->actingAsForApi(User::factory()->checkoutAccessories()->create())
|
||||||
->postJson(route('api.accessories.checkout', Accessory::factory()->create()), [
|
->postJson(route('api.accessories.checkout', Accessory::factory()->create()), [
|
||||||
|
|
|
@ -21,7 +21,7 @@ class AccessoryCheckoutTest extends TestCase
|
||||||
->assertForbidden();
|
->assertForbidden();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testValidation()
|
public function testValidationWhenCheckingOutAccessory()
|
||||||
{
|
{
|
||||||
$this->actingAs(User::factory()->checkoutAccessories()->create())
|
$this->actingAs(User::factory()->checkoutAccessories()->create())
|
||||||
->post(route('accessories.checkout.store', Accessory::factory()->create()), [
|
->post(route('accessories.checkout.store', Accessory::factory()->create()), [
|
||||||
|
|
Loading…
Reference in a new issue