1
0
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:
David Bomba 2021-05-27 17:21:30 +10:00
parent f8bba8b7c0
commit 3c528ca16e

View File

@ -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]);
}