fixed factories

This commit is contained in:
Denis Duliçi 2020-10-15 00:27:40 +03:00
parent 3432ce26b8
commit 62756882f0

View File

@ -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();