mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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->withoutMiddleware(PasswordProtection::class);
|
||||||
|
|
||||||
|
|
||||||
$this->expectsEvents([
|
$this->expectsEvents([
|
||||||
UserWasCreated::class,
|
UserWasCreated::class,
|
||||||
UserWasUpdated::class,
|
UserWasUpdated::class,
|
||||||
|
@ -170,6 +170,9 @@ trait MockAccountData
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->account = Account::factory()->create();
|
$this->account = Account::factory()->create();
|
||||||
|
$this->account->num_users = 3;
|
||||||
|
$this->account->save();
|
||||||
|
|
||||||
$this->company = Company::factory()->create([
|
$this->company = Company::factory()->create([
|
||||||
'account_id' => $this->account->id,
|
'account_id' => $this->account->id,
|
||||||
]);
|
]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user