mirror of
https://github.com/crater-invoice/crater.git
synced 2025-12-15 01:42:54 -05: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