1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Fixes for tests

This commit is contained in:
David Bomba 2021-11-07 22:44:39 +11:00
parent b2a3faa125
commit 1b2972da75
2 changed files with 3 additions and 1 deletions

View File

@ -677,7 +677,6 @@ class EventTest extends TestCase
{
$this->withoutMiddleware(PasswordProtection::class);
$this->expectsEvents([
UserWasCreated::class,
UserWasUpdated::class,

View File

@ -170,6 +170,9 @@ trait MockAccountData
}
$this->account = Account::factory()->create();
$this->account->num_users = 3;
$this->account->save();
$this->company = Company::factory()->create([
'account_id' => $this->account->id,
]);