From 0c47f853499ad0a4d1c628c78b33fc81ad55b464 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 21 Feb 2023 07:50:00 +1100 Subject: [PATCH] Fixes for tests --- tests/Feature/CompanyGatewayTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Feature/CompanyGatewayTest.php b/tests/Feature/CompanyGatewayTest.php index 97118f1f92..acd38b9311 100644 --- a/tests/Feature/CompanyGatewayTest.php +++ b/tests/Feature/CompanyGatewayTest.php @@ -16,6 +16,7 @@ use App\Models\CompanyGateway; use App\Models\GatewayType; use App\Models\Invoice; use Illuminate\Foundation\Testing\DatabaseTransactions; +use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\MockAccountData; use Tests\TestCase; @@ -26,7 +27,8 @@ use Tests\TestCase; class CompanyGatewayTest extends TestCase { use MockAccountData; - use DatabaseTransactions; + // use DatabaseTransactions; + use RefreshDatabase; protected function setUp() :void {