mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Added qty
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
0ef58a9aef
commit
fa5b59cf21
|
@ -71,7 +71,7 @@ class AccessoryCheckoutTest extends TestCase
|
||||||
|
|
||||||
public function testAccessoryCanBeCheckedOutWithQuantity()
|
public function testAccessoryCanBeCheckedOutWithQuantity()
|
||||||
{
|
{
|
||||||
$accessory = Accessory::factory()->count(5)->create();
|
$accessory = Accessory::factory()->create(['qty'=>5]);
|
||||||
$user = User::factory()->create();
|
$user = User::factory()->create();
|
||||||
|
|
||||||
$this->actingAs(User::factory()->checkoutAccessories()->create())
|
$this->actingAs(User::factory()->checkoutAccessories()->create())
|
||||||
|
|
Loading…
Reference in a new issue