From 554e8954961d59ce5f8e25d53067a9661bd18684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Sat, 4 Sep 2021 16:04:27 +0300 Subject: [PATCH] fixed test --- app/Jobs/Common/CreateDashboard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/Common/CreateDashboard.php b/app/Jobs/Common/CreateDashboard.php index c94fbe060..eb9edd4f8 100644 --- a/app/Jobs/Common/CreateDashboard.php +++ b/app/Jobs/Common/CreateDashboard.php @@ -136,7 +136,7 @@ class CreateDashboard extends Job 'name' => $name, 'sort' => $sort, 'settings' => (new $class())->getDefaultSettings(), - 'created_by' => user_id(), + 'created_by' => $this->dashboard->created_by, ]); $sort++;