fixed dashboard tests
This commit is contained in:
parent
c59c71b0f9
commit
0ebfde3651
@ -27,7 +27,9 @@ class CreateDashboard extends Job implements HasOwner, HasSource, ShouldCreate
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->model = Dashboard::create($this->request->only(['company_id', 'name', 'enabled']));
|
$this->model = Dashboard::create($this->request->only([
|
||||||
|
'company_id', 'name', 'enabled', 'created_from', 'created_by'
|
||||||
|
]));
|
||||||
|
|
||||||
$this->model->users()->attach($users);
|
$this->model->users()->attach($users);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user