diff --git a/tests/Feature/Shop/ShopInvoiceTest.php b/tests/Feature/Shop/ShopInvoiceTest.php index 75a388bdd188..0ca066f580d5 100644 --- a/tests/Feature/Shop/ShopInvoiceTest.php +++ b/tests/Feature/Shop/ShopInvoiceTest.php @@ -99,6 +99,8 @@ class ShopInvoiceTest extends TestCase $this->company->enable_shop_api = true; $this->company->save(); + Product::truncate(); + $product = Product::factory()->create([ 'user_id' => $this->user->id, 'company_id' => $this->company->id,