Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Commit

Permalink
fix(test-case): fix dashboard test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaileshInfyom committed Nov 19, 2019
1 parent b28f354 commit 07e49bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Repositories/DashboardRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function getDeveloperWorkReport($input)
'name' => ucfirst($user->name),
'total_hours' => round($totalDuration / 60, 2),
];
$color = getColorRGBCode();
$color = getColorRGBCode($user->id);
$data['data']['backgroundColor'][] = getColor(0.3, $color);
$data['data']['borderColor'][] = getColor(1, $color);
}
Expand Down

0 comments on commit 07e49bb

Please sign in to comment.