Skip to content
Failed

Changes

Summary

  1. Implement service layer with comprehensive tests (commit: 378d79b) (details)
Commit 378d79b619822a921f4b5c06a886a56d6a994a80 by lion22.j07
Implement service layer with comprehensive tests

- Added PersonService with CRUD operations
   - Added AdminService with business logic
   - Added UserService with validation
   - Created comprehensive unit tests for all services
   - Fixed exception handling declarations in tests

   Services include:
   - Create, read, update, delete operations
   - Input validation and error handling
   - Proper exception throwing for not found cases

   Tests include:
   - Happy path scenarios
   - Edge cases and error conditions
   - Proper exception testing
(commit: 378d79b)
The file was addedsrc/main/java/co/edu/udistrital/mdp/back/services/AdminService.java
The file was addedsrc/test/java/co/edu/udistrital/mdp/back/services/PersonServiceTest.java
The file was addedsrc/test/java/co/edu/udistrital/mdp/back/services/UserServiceTest.java
The file was addedsrc/main/java/co/edu/udistrital/mdp/back/services/PersonService.java
The file was addedsrc/main/java/co/edu/udistrital/mdp/back/services/UserService.java
The file was addedsrc/test/java/co/edu/udistrital/mdp/back/services/AdminServiceTest.java