From f0b532847dd5cfe01361eb29dfce502ef325c5d6 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 16 Oct 2020 08:45:46 +1100 Subject: [PATCH] Fixes for testsg --- tests/Feature/Shop/ShopInvoiceTest.php | 2 ++ 1 file changed, 2 insertions(+) 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,