diff --git a/tests/Feature/Import/ImportCompanyTest.php b/tests/Feature/Import/ImportCompanyTest.php index 78df0958b909..1f585783d9b7 100644 --- a/tests/Feature/Import/ImportCompanyTest.php +++ b/tests/Feature/Import/ImportCompanyTest.php @@ -51,6 +51,10 @@ class ImportCompanyTest extends TestCase $this->withoutExceptionHandling(); + Account::all()->each(function ($account){ + $account->delete(); + }); + $this->account = Account::factory()->create(); $this->company = Company::factory()->create(['account_id' => $this->account->id]); }