mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 20:21:10 -04:00
solve unit tests
This commit is contained in:
@ -10,8 +10,8 @@ test('payment method request validation rules', function () {
|
||||
[
|
||||
'name' => [
|
||||
'required',
|
||||
Rule::unique('units')
|
||||
->where('payment_methods', $request->header('company')),
|
||||
Rule::unique('payment_methods')
|
||||
->where('company_id', $request->header('company')),
|
||||
],
|
||||
],
|
||||
$request->rules()
|
||||
|
||||
Reference in New Issue
Block a user