Itemtest request fixing

This commit is contained in:
Batuhan Baş 2018-12-22 14:06:08 +03:00
parent 44fe707b09
commit e51f458922

View File

@ -86,7 +86,7 @@ class ItemsTest extends FeatureTestCase
'sale_price' => $this->faker->randomFloat(2, 10, 20), 'sale_price' => $this->faker->randomFloat(2, 10, 20),
'quantity' => $this->faker->randomNumber(2), 'quantity' => $this->faker->randomNumber(2),
'category_id' => $this->company->categories()->type('item')->first()->id, 'category_id' => $this->company->categories()->type('item')->first()->id,
'tax_id' => $this->company->taxes()->enabled()->first()->id, 'tax_id' => '',
'enabled' => $this->faker->boolean ? 1 : 0 'enabled' => $this->faker->boolean ? 1 : 0
]; ];
} }