mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 12:11:19 +00:00
Expand test cases.
This commit is contained in:
@@ -42,10 +42,11 @@ class UpdateRequest extends FormRequest
|
||||
*/
|
||||
public function getUpdateData(): array
|
||||
{
|
||||
return [
|
||||
'title' => $this->string('title'),
|
||||
'order' => $this->integer('order'),
|
||||
$fields = [
|
||||
'title' => ['title', 'string'],
|
||||
'order' =>['order', 'integer']
|
||||
];
|
||||
return $this->getAllData($fields);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user