Fixes for tests
This commit is contained in:
parent
f8bba8b7c0
commit
3c528ca16e
1 changed files with 4 additions and 0 deletions
|
|
@ -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]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue