mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 05:44:32 -04:00
Fixes for tests
This commit is contained in:
parent
f8bba8b7c0
commit
3c528ca16e
@ -51,6 +51,10 @@ class ImportCompanyTest extends TestCase
|
|||||||
|
|
||||||
$this->withoutExceptionHandling();
|
$this->withoutExceptionHandling();
|
||||||
|
|
||||||
|
Account::all()->each(function ($account){
|
||||||
|
$account->delete();
|
||||||
|
});
|
||||||
|
|
||||||
$this->account = Account::factory()->create();
|
$this->account = Account::factory()->create();
|
||||||
$this->company = Company::factory()->create(['account_id' => $this->account->id]);
|
$this->company = Company::factory()->create(['account_id' => $this->account->id]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user