1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Fix for tests

This commit is contained in:
Hillel Coren 2016-10-27 12:56:21 +03:00
parent 185958ba2c
commit a4b919f188

View File

@ -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');
}
}
}