Add test coverage for allocation routes
This commit is contained in:
parent
d040b3a242
commit
a430ebb89e
3 changed files with 220 additions and 2 deletions
|
@ -21,8 +21,10 @@ class UpdateAllocationRequest extends ClientApiRequest
|
|||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
$rules = Allocation::getRules();
|
||||
|
||||
return [
|
||||
'notes' => Allocation::$validationRules['notes'],
|
||||
'notes' => array_merge($rules['notes'], ['present']),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue