invitations should work on tests
This commit is contained in:
@ -71,7 +71,7 @@ class CreateUser extends Job implements HasOwner, HasSource, ShouldCreate
|
||||
]);
|
||||
}
|
||||
|
||||
if (! app()->runningInConsole() && ! request()->isInstall()) {
|
||||
if ((! app()->runningInConsole() && ! request()->isInstall()) || app()->runningUnitTests()) {
|
||||
$this->dispatch(new CreateInvitation($this->model));
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user