Rebuild Auth and User Management Tests#18
Conversation
This commit completes the first two modules of the "Total System Test & Data Reconstruction" project. **Authentication & Authorization:** - Refactored User and Admin factories to align with seeder logic. - Built a comprehensive Pest test suite for registration, login, password reset, and admin authentication. - Resolved numerous environment and application-level bugs to ensure test suite passes. **User Management:** - Refactored User, Student, and Teacher factories for data consistency. - Implemented creation logic in controllers and repositories for Students and Teachers. - Built a Pest test suite for Student and Teacher creation. - Corrected validation and payload structure to ensure all tests pass.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
This commit continues the "Total System Test & Data Reconstruction" project, focusing on the School and Applicant Management modules. **School Management:** - Refactored the SchoolFactory to generate realistic, localized data. - Created a new SchoolController with full CRUD functionality. - Implemented StoreSchoolRequest and UpdateSchoolRequest for validation. - Added an apiResource route for schools. - Built a comprehensive Pest test suite covering all CRUD operations. **Applicant Management:** - Refactored the ApplicantFactory to align with the ApplicantSeeder and UserFactory states. - Synchronized the factory to produce appropriate data for both 'student' and 'teacher' application types.
This submission completes the first two modules of the "Total System Test & Data Reconstruction" project: Authentication & Authorization and User Management. It includes refactored factories, a comprehensive new Pest test suite, and numerous bug fixes to ensure the stability and correctness of the codebase.
PR created automatically by Jules for task 6876431125093622623 started by @Emran025