From 395a7bb33ca5431715a55dc05d29b3ca451fc234 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 15 Feb 2017 17:07:56 +0100 Subject: [PATCH] This should fix the tests --- app/Helpers/Chart/MetaPieChart.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Helpers/Chart/MetaPieChart.php b/app/Helpers/Chart/MetaPieChart.php index 66addbd0b1..6c340b5389 100644 --- a/app/Helpers/Chart/MetaPieChart.php +++ b/app/Helpers/Chart/MetaPieChart.php @@ -261,7 +261,6 @@ class MetaPieChart implements MetaPieChartInterface $chartData = []; $names = []; $repository = app($this->repositories[$type]); - $repository->setUser($this->user); foreach ($array as $objectId => $amount) { if (!isset($names[$objectId])) { $object = $repository->find(intval($objectId));