add tests batch 20
This commit is contained in:
@@ -6,24 +6,20 @@ use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class EventChargeLifecycleRequest extends FormRequest
|
||||
{
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function authorize(): bool { return true; }
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'event_id' => ['nullable', 'integer'],
|
||||
'parent_id' => ['nullable', 'integer'],
|
||||
'student_id' => ['nullable', 'integer'],
|
||||
'school_year' => ['nullable', 'string', 'max:20'],
|
||||
'semester' => ['nullable', 'string', 'max:40'],
|
||||
'event_name' => ['nullable', 'string', 'max:255'],
|
||||
'title' => ['nullable', 'string', 'max:255'],
|
||||
'description' => ['nullable', 'string'],
|
||||
'amount' => ['nullable', 'numeric', 'min:0'],
|
||||
'invoice_id' => ['nullable', 'integer'],
|
||||
'event_id' => ['nullable','integer'],
|
||||
'parent_id' => ['nullable','integer'],
|
||||
'student_id' => ['nullable','integer'],
|
||||
'school_year' => ['nullable','string','max:20'],
|
||||
'semester' => ['nullable','string','max:40'],
|
||||
'event_name' => ['nullable','string','max:255'],
|
||||
'title' => ['nullable','string','max:255'],
|
||||
'description' => ['nullable','string'],
|
||||
'amount' => ['nullable','numeric','min:0'],
|
||||
'invoice_id' => ['nullable','integer'],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user