From a4b919f1888027170b05741508119f5bfc5b2e8b Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 27 Oct 2016 12:56:21 +0300 Subject: [PATCH] Fix for tests --- app/Policies/TaxRatePolicy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Policies/TaxRatePolicy.php b/app/Policies/TaxRatePolicy.php index 0ce64eca79..5f70694890 100644 --- a/app/Policies/TaxRatePolicy.php +++ b/app/Policies/TaxRatePolicy.php @@ -19,7 +19,7 @@ class TaxRatePolicy extends EntityPolicy * @param User $user * @return bool */ - public static function create(User $user) { + public static function create(User $user, $item) { return $user->hasPermission('admin'); } -} \ No newline at end of file +}