mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for tests
This commit is contained in:
parent
f8bba8b7c0
commit
3c528ca16e
@ -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…
Reference in New Issue
Block a user