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:
parent
b2a3faa125
commit
1b2972da75
@ -677,7 +677,6 @@ class EventTest extends TestCase
|
||||
{
|
||||
$this->withoutMiddleware(PasswordProtection::class);
|
||||
|
||||
|
||||
$this->expectsEvents([
|
||||
UserWasCreated::class,
|
||||
UserWasUpdated::class,
|
||||
|
@ -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,
|
||||
]);
|
||||
|
Loading…
Reference in New Issue
Block a user