mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Organize
This commit is contained in:
parent
9f832a93c9
commit
9c6718b459
|
@ -41,19 +41,19 @@ class CreateAccessoriesTest extends TestCase
|
||||||
$supplier = Supplier::factory()->create();
|
$supplier = Supplier::factory()->create();
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
'company_id' => $company->id,
|
|
||||||
'name' => 'My Accessory Name',
|
|
||||||
'category_id' => $category->id,
|
'category_id' => $category->id,
|
||||||
'supplier_id' => $supplier->id,
|
'company_id' => $company->id,
|
||||||
'manufacturer_id' => $manufacturer->id,
|
|
||||||
'location_id' => $location->id,
|
'location_id' => $location->id,
|
||||||
'model_number' => '12345',
|
'manufacturer_id' => $manufacturer->id,
|
||||||
'order_number' => '9876',
|
|
||||||
'purchase_date' => '2024-09-04',
|
|
||||||
'purchase_cost' => '99.98',
|
|
||||||
'qty' => '3',
|
|
||||||
'min_amt' => '1',
|
'min_amt' => '1',
|
||||||
|
'model_number' => '12345',
|
||||||
|
'name' => 'My Accessory Name',
|
||||||
'notes' => 'Some notes here',
|
'notes' => 'Some notes here',
|
||||||
|
'order_number' => '9876',
|
||||||
|
'purchase_cost' => '99.98',
|
||||||
|
'purchase_date' => '2024-09-04',
|
||||||
|
'qty' => '3',
|
||||||
|
'supplier_id' => $supplier->id,
|
||||||
];
|
];
|
||||||
|
|
||||||
$user = User::factory()->createAccessories()->create();
|
$user = User::factory()->createAccessories()->create();
|
||||||
|
|
Loading…
Reference in a new issue