fixed tax_ids check

This commit is contained in:
Denis Duliçi
2020-12-14 16:04:54 +03:00
parent 348e957735
commit 92715de2d0
3 changed files with 15 additions and 23 deletions

View File

@ -28,7 +28,6 @@ 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_ids' => [],
'enabled' => $this->faker->boolean ? 1 : 0,
];
}