fixed tests

This commit is contained in:
Denis Duliçi
2020-12-08 17:00:57 +03:00
parent 7c674b691b
commit 4c9234cba6
2 changed files with 11 additions and 4 deletions

View File

@ -28,7 +28,7 @@ class Item extends Factory
'purchase_price' => $this->faker->randomFloat(2, 10, 20),
'sale_price' => $this->faker->randomFloat(2, 10, 20),
'category_id' => $this->company->categories()->item()->get()->random(1)->pluck('id')->first(),
'tax_id' => null,
'tax_ids' => [],
'enabled' => $this->faker->boolean ? 1 : 0,
];
}