fixed sample-data send mail issue..
This commit is contained in:
parent
d990fa0189
commit
40bd54fe1c
@ -26,10 +26,14 @@ abstract class Factory extends BaseFactory
|
|||||||
{
|
{
|
||||||
parent::__construct(...$arguments);
|
parent::__construct(...$arguments);
|
||||||
|
|
||||||
|
config(['mail.default' => 'array']);
|
||||||
|
|
||||||
$this->user = User::first();
|
$this->user = User::first();
|
||||||
$this->company = $this->user->companies()->first();
|
$this->company = $this->user->companies()->first();
|
||||||
|
|
||||||
company($this->company->id)->makeCurrent();
|
company($this->company->id)->makeCurrent();
|
||||||
|
|
||||||
|
app('url')->defaults(['company_id' => company_id()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCompanyUsers()
|
public function getCompanyUsers()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user