fixed factories
This commit is contained in:
parent
3432ce26b8
commit
62756882f0
@ -12,6 +12,8 @@ abstract class Factory extends BaseFactory
|
|||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
parent::__construct();
|
||||||
|
|
||||||
$this->user = User::first();
|
$this->user = User::first();
|
||||||
$this->company = $this->user->companies()->first();
|
$this->company = $this->user->companies()->first();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user