invitations should work on tests
This commit is contained in:
parent
67db8d113f
commit
62513384e8
@ -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));
|
$this->dispatch(new CreateInvitation($this->model));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user