mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
fix tests
This commit is contained in:
@ -18,7 +18,7 @@ test('customer profile request validation rules', function () {
|
||||
'email' => [
|
||||
'nullable',
|
||||
'email',
|
||||
Rule::unique('customers')->ignore(Auth::id(), 'id'),
|
||||
Rule::unique('customers')->where('company_id', $request->header('company'))->ignore(Auth::id(), 'id')
|
||||
],
|
||||
'billing.name' => [
|
||||
'nullable',
|
||||
|
||||
Reference in New Issue
Block a user