fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -6,20 +6,24 @@ 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'],
];
}
}