add tests batch 20

This commit is contained in:
root
2026-06-09 01:03:53 -04:00
parent 95efb9652e
commit 6be4875c5e
1502 changed files with 13797 additions and 11313 deletions
@@ -2,6 +2,8 @@
namespace App\Http\Requests;
use App\Http\Requests\ApiFormRequest;
class StoreStudentAssignmentRequest extends FormRequest
{
public function authorize(): bool
@@ -12,11 +14,11 @@ class StoreStudentAssignmentRequest extends FormRequest
public function rules(): array
{
return [
'student_id' => ['required', 'integer', 'exists:students,id'],
'student_id' => ['required', 'integer', 'exists:students,id'],
'class_section_id' => ['required', 'integer', 'exists:class_sections,id'],
'semester' => ['nullable', 'string', 'max:50'],
'school_year' => ['nullable', 'string', 'max:50'],
'description' => ['nullable', 'string'],
'semester' => ['nullable', 'string', 'max:50'],
'school_year' => ['nullable', 'string', 'max:50'],
'description' => ['nullable', 'string'],
];
}
}
}