mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
fix tests
This commit is contained in:
@ -46,7 +46,7 @@ class ExpensesController extends Controller
|
||||
public function show(Company $company, $id)
|
||||
{
|
||||
$expense = $company->expenses()
|
||||
->whereCustomer(Auth::guard('customer')->id())
|
||||
->whereUser(Auth::guard('customer')->id())
|
||||
->where('id', $id)
|
||||
->first();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user