fix tests

This commit is contained in:
harshjagad20
2022-01-10 19:02:49 +05:30
parent 54f76f7cbe
commit 9eae813c24
11 changed files with 67 additions and 45 deletions

View File

@ -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',