Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Aug 8, 2021
1 parent 1921c34 commit efb7c59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Http/Requests/Document/Document.php
Expand Up @@ -57,7 +57,7 @@ public function rules()
'due_at' => 'required|date_format:Y-m-d H:i:s|after_or_equal:issued_at',
'amount' => 'required',
'items.*.name' => 'required|string',
'items.*.quantity' => 'required|size:' . $quantity_size,
'items.*.quantity' => 'required|max:' . $quantity_size,
'items.*.price' => 'required|amount',
'currency_code' => 'required|string|currency',
'currency_rate' => 'required|gt:0',
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Requests/Document/DocumentItem.php
Expand Up @@ -24,7 +24,7 @@ public function rules()
'type' => 'required|string',
'document_id' => 'required|integer',
'name' => 'required|string',
'quantity' => 'required|size:' . $quantity_size,
'quantity' => 'required|max:' . $quantity_size,
'price' => 'required|amount',
'total' => 'required',
'tax' => 'required',
Expand Down

0 comments on commit efb7c59

Please sign in to comment.