Console Output
Skipping 67 KB..
Full Logrofessional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
2025-07-01T23:33:36.649Z INFO 104 --- [ main] c.e.u.m.b.services.ServiceService : Inciando el proceso de creacion de un servicio
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
2025-07-01T23:33:36.715Z INFO 104 --- [ main] c.e.u.m.b.services.ServiceService : Inciando el proceso de creacion de un servicio
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
2025-07-01T23:33:36.742Z INFO 104 --- [ main] c.e.u.m.b.services.ServiceService : Inciando el proceso de creacion de un servicio
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
2025-07-01T23:33:36.768Z INFO 104 --- [ main] c.e.u.m.b.services.ServiceService : Servicio actualizado con éxito: ServiceEntity(name=Updated Service, description=, price=150.0, referenceImagesUrls=null, professional=ProfessionalEntity(name=YmS8agvD2w, photoUrl=rfqnQYRoik, summary=BN0_W9dfUa, sponsored=true, birthDate=2025-07-01, brand=null, coverageAreas=null, services=[], agenda=null), records=[ServiceRecordEntity(datePerformed=2025-07-01, resultImageUrls=[llqFFdhevO, rcJay0GoVZ, aqnXixKjp0, ObJRJyAf4E, zBUGdy7w3M], service=null, review=null), ServiceRecordEntity(datePerformed=2025-07-01, resultImageUrls=[Qbe6anriGu, 06t1L5SLge, zX1vj6PtNf, AQ4rhYHXOZ, jI4wo3lyQy], service=null, review=null), ServiceRecordEntity(datePerformed=2025-07-01, resultImageUrls=[Anq8M6eARa, SW5Vp5C0aJ, FMFnLAxV42, s5ABC08td0, WJzUMn5T0l], service=null, review=null)], brand=BrandEntity(name=EWWoIdunS2, logoURL=y3RpSPiL5w, exclusiveProducts=[ExclusiveProductEntity(name=bQJRkEvDlS, photoUrl=f59GzdAucT, description=RXxLNVfM07, brand=null), ExclusiveProductEntity(name=WUUBm2FJxW, photoUrl=oydEuKQ8Zg, description=x9JDU_mpIx, brand=null), ExclusiveProductEntity(name=RbyEebFsIl, photoUrl=nuyIshrFY8, description=UDCiLqUnqD, brand=null), ExclusiveProductEntity(name=QUOAfvm4_e, photoUrl=mWWwzteHit, description=3cHMCJnzni, brand=null), ExclusiveProductEntity(name=K229iHAqEm, photoUrl=6YqDwbmLyf, description=_1eNHlDWi0, brand=null)]))
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into professional_entity (birth_date,brand_id,name,photo_url,sponsored,summary,id) values (?,?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
2025-07-01T23:33:36.819Z INFO 104 --- [ main] c.e.u.m.b.services.ServiceService : Inciando el proceso de creacion de un servicio
Hibernate: insert into service_entity (brand_id,description,name,price,professional_id,id) values (?,?,?,?,?,default)
2025-07-01T23:33:36.820Z INFO 104 --- [ main] c.e.u.m.b.services.ServiceService : Servicio creado con éxito: ServiceEntity(name=Test Service, description=Test Description, price=100.0, referenceImagesUrls=null, professional=ProfessionalEntity(name=IDLteLN1FH, photoUrl=muCY2M9BNL, summary=XSQ4ZGYEEU, sponsored=true, birthDate=2025-07-01, brand=null, coverageAreas=null, services=[], agenda=null), records=[ServiceRecordEntity(datePerformed=2025-07-01, resultImageUrls=[OhfUmf1RhA, 9jGjTwRU1k, Vej0U7lkot, noWxLJWTNF, eYqdpR1rSJ], service=null, review=null), ServiceRecordEntity(datePerformed=2025-07-01, resultImageUrls=[i0RQe7jBMS, X6VT_uGrux, RAxpGDUFJ_, 4YH43akN9E, hG1KnRJYrL], service=null, review=null), ServiceRecordEntity(datePerformed=2025-07-01, resultImageUrls=[BHgozeQu6o, uVoyLmPVLL, wCSkq8PWRe, OTNlZytHLI, 17KoqRITem], service=null, review=null)], brand=BrandEntity(name=S6NhJHKXbR, logoURL=Q4lG81V_2M, exclusiveProducts=[ExclusiveProductEntity(name=7HkP5fMKu1, photoUrl=fWwmlZ2o3j, description=bNB4G_Y0au, brand=null), ExclusiveProductEntity(name=AR5ybPsaS5, photoUrl=T0RJkUZ9k0, description=GqzexurW68, brand=null), ExclusiveProductEntity(name=XRJw9OOh8M, photoUrl=hLsY4g6lNa, description=a4MsJHKEWK, brand=null), ExclusiveProductEntity(name=7fozx9y2iT, photoUrl=Ne2IZnUK7Z, description=r4flGMJ3F8, brand=null), ExclusiveProductEntity(name=wN82NIG1d7, photoUrl=9nx64zlBpY, description=kCzgjbi1o7, brand=null)]))
[ERROR] Tests run: 22, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 10.63 s <<< FAILURE! - in co.edu.udistrital.mdp.beautyathome.services.ServiceServiceTest
[ERROR] testUpdateInvalidServiceWithEmptyName Time elapsed: 0.081 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Expected co.edu.udistrital.mdp.beautyathome.exceptions.IllegalOperationException to be thrown, but nothing was thrown.
at co.edu.udistrital.mdp.beautyathome.services.ServiceServiceTest.testUpdateInvalidServiceWithEmptyName(ServiceServiceTest.java:332)
[ERROR] testCreateServiceWithEmptyDescription Time elapsed: 0.036 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Expected co.edu.udistrital.mdp.beautyathome.exceptions.IllegalOperationException to be thrown, but nothing was thrown.
at co.edu.udistrital.mdp.beautyathome.services.ServiceServiceTest.testCreateServiceWithEmptyDescription(ServiceServiceTest.java:162)
[ERROR] testCreateServiceWithEmptyName Time elapsed: 0.036 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Expected co.edu.udistrital.mdp.beautyathome.exceptions.IllegalOperationException to be thrown, but nothing was thrown.
at co.edu.udistrital.mdp.beautyathome.services.ServiceServiceTest.testCreateServiceWithEmptyName(ServiceServiceTest.java:147)
[ERROR] testUpdateInvalidServiceWithEmptyDescription Time elapsed: 0.027 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Expected co.edu.udistrital.mdp.beautyathome.exceptions.IllegalOperationException to be thrown, but nothing was thrown.
at co.edu.udistrital.mdp.beautyathome.services.ServiceServiceTest.testUpdateInvalidServiceWithEmptyDescription(ServiceServiceTest.java:348)
[INFO] Running co.edu.udistrital.mdp.beautyathome.services.BrandServiceTest
2025-07-01T23:33:36.827Z INFO 104 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.beautyathome.services.BrandServiceTest]: BrandServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-07-01T23:33:36.835Z INFO 104 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.beautyathome.MainApplication for test class co.edu.udistrital.mdp.beautyathome.services.BrandServiceTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.2.3)
2025-07-01T23:33:36.861Z INFO 104 --- [ main] c.e.u.m.b.services.BrandServiceTest : Starting BrandServiceTest using Java 21.0.4 with PID 104 (started by root in /home/cecaduser/workspace/MP_202510_G81_E4_BeautyAtHome_Back)
2025-07-01T23:33:36.861Z INFO 104 --- [ main] c.e.u.m.b.services.BrandServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-01T23:33:36.974Z INFO 104 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-01T23:33:36.997Z INFO 104 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 10 JPA repository interfaces.
2025-07-01T23:33:37.016Z INFO 104 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-01T23:33:37.033Z INFO 104 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:0dbb5948-e7d5-4aa8-bb3e-2417a69758bd;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-01T23:33:37.055Z INFO 104 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-01T23:33:37.057Z INFO 104 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-01T23:33:37.061Z INFO 104 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-01T23:33:37.063Z WARN 104 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2025-07-01T23:33:37.269Z INFO 104 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists agenda_entity cascade
Hibernate: drop table if exists appointment_entity cascade
Hibernate: drop table if exists brand_entity cascade
Hibernate: drop table if exists client_entity cascade
Hibernate: drop table if exists coverage_area_entity cascade
Hibernate: drop table if exists exclusive_product_entity cascade
Hibernate: drop table if exists professional_area cascade
Hibernate: drop table if exists professional_entity cascade
Hibernate: drop table if exists record_result_images cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_reference_images cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_record_entity cascade
Hibernate: create table agenda_entity (id bigint generated by default as identity, professional_id bigint unique, primary key (id))
Hibernate: create table appointment_entity (agenda_id bigint, id bigint generated by default as identity, professional_id bigint, scheduled_at timestamp(6), service_id bigint, user_id bigint, primary key (id))
Hibernate: create table brand_entity (id bigint generated by default as identity, logourl varchar(255), name varchar(255), primary key (id))
Hibernate: create table client_entity (id bigint generated by default as identity, address varchar(255), email varchar(255), full_name varchar(255), phone_number varchar(255), primary key (id))
Hibernate: create table coverage_area_entity (id bigint generated by default as identity, name varchar(255), primary key (id))
Hibernate: create table exclusive_product_entity (brand_id bigint, id bigint generated by default as identity, description varchar(255), name varchar(255), photo_url varchar(255), primary key (id))
Hibernate: create table professional_area (area_id bigint not null, professional_id bigint not null)
Hibernate: create table professional_entity (birth_date date, sponsored boolean not null, brand_id bigint, id bigint generated by default as identity, photo_url varchar(800), name varchar(255), summary varchar(255), primary key (id))
Hibernate: create table record_result_images (record_id bigint not null, image_url varchar(255))
Hibernate: create table review_entity (stars integer not null, client_id bigint not null, id bigint generated by default as identity, service_record_id bigint not null unique, opinion varchar(1000) not null, primary key (id))
Hibernate: create table service_reference_images (service_id bigint not null, image_url varchar(255))
Hibernate: create table service_entity (price float(53), brand_id bigint, id bigint generated by default as identity, professional_id bigint, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table service_record_entity (date_performed date, id bigint generated by default as identity, service_id bigint, primary key (id))
Hibernate: alter table if exists agenda_entity add constraint FKppmkpsoetr7lu0o3lnsm0mkck foreign key (professional_id) references professional_entity
Hibernate: alter table if exists appointment_entity add constraint FKlfi8k6o7x8e4vqwxehc2cr6p9 foreign key (agenda_id) references agenda_entity
Hibernate: alter table if exists appointment_entity add constraint FKc1bxhg9cd5enh1enqfumnphr8 foreign key (user_id) references client_entity
Hibernate: alter table if exists appointment_entity add constraint FKlgyt95docr3qo3w3b12upohdq foreign key (professional_id) references professional_entity
Hibernate: alter table if exists appointment_entity add constraint FKc3suy5i0uvkdifnsovna0k21q foreign key (service_id) references service_entity
Hibernate: alter table if exists exclusive_product_entity add constraint FKn9wuwqnt0sovxh2suun7kb4tf foreign key (brand_id) references brand_entity
Hibernate: alter table if exists professional_area add constraint FKg3atskd26w0kksa7n0m4wvunm foreign key (area_id) references coverage_area_entity
Hibernate: alter table if exists professional_area add constraint FKky0u5df6tlhc0ilt8d5m0fe3y foreign key (professional_id) references professional_entity
Hibernate: alter table if exists professional_entity add constraint FK1ktkd1s7d9q4nskl0cjsa7e4p foreign key (brand_id) references brand_entity
Hibernate: alter table if exists record_result_images add constraint FKpxgjmqb8khnt3dmiuljq1wpv foreign key (record_id) references service_record_entity
Hibernate: alter table if exists review_entity add constraint FKfc0i93dpqubh4qieybqcni10e foreign key (client_id) references client_entity
Hibernate: alter table if exists review_entity add constraint FKh7los7u9y9f2mirm28qtc25e9 foreign key (service_record_id) references service_record_entity
Hibernate: alter table if exists service_reference_images add constraint FKgwu3tvvn5c65fmnuwu7uhgmyf foreign key (service_id) references service_entity
Hibernate: alter table if exists service_entity add constraint FKr47jh4seunosgnksfmv1ar4gc foreign key (brand_id) references brand_entity
Hibernate: alter table if exists service_entity add constraint FKhsh9495cm0n8335ksuju77loo foreign key (professional_id) references professional_entity
Hibernate: alter table if exists service_record_entity add constraint FK9r0v3t38nfwdqg7bl58m2p7kn foreign key (service_id) references service_entity
2025-07-01T23:33:37.307Z INFO 104 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-01T23:33:37.505Z INFO 104 --- [ main] c.e.u.m.b.services.BrandServiceTest : Started BrandServiceTest in 0.667 seconds (process running for 12.821)
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: select be1_0.id,be1_0.logourl,be1_0.name from brand_entity be1_0 where be1_0.id=?
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: select be1_0.id,be1_0.logourl,be1_0.name from brand_entity be1_0 where be1_0.id=?
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: select be1_0.id,be1_0.logourl,be1_0.name from brand_entity be1_0 where be1_0.id=?
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: select be1_0.id,be1_0.logourl,be1_0.name from brand_entity be1_0
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.787 s - in co.edu.udistrital.mdp.beautyathome.services.BrandServiceTest
[INFO] Running co.edu.udistrital.mdp.beautyathome.services.ExclusiveProductServiceTest
2025-07-01T23:33:37.700Z INFO 104 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.beautyathome.services.ExclusiveProductServiceTest]: ExclusiveProductServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-07-01T23:33:37.704Z INFO 104 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.beautyathome.MainApplication for test class co.edu.udistrital.mdp.beautyathome.services.ExclusiveProductServiceTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.2.3)
2025-07-01T23:33:37.725Z INFO 104 --- [ main] c.e.u.m.b.s.ExclusiveProductServiceTest : Starting ExclusiveProductServiceTest using Java 21.0.4 with PID 104 (started by root in /home/cecaduser/workspace/MP_202510_G81_E4_BeautyAtHome_Back)
2025-07-01T23:33:37.725Z INFO 104 --- [ main] c.e.u.m.b.s.ExclusiveProductServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-01T23:33:37.811Z INFO 104 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-01T23:33:37.828Z INFO 104 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 10 JPA repository interfaces.
2025-07-01T23:33:37.846Z INFO 104 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-01T23:33:37.859Z INFO 104 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:dcd94069-31af-4e51-a8c1-a961cf9a5549;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-01T23:33:37.878Z INFO 104 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-01T23:33:37.880Z INFO 104 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-01T23:33:37.884Z INFO 104 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-01T23:33:37.885Z WARN 104 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2025-07-01T23:33:38.066Z INFO 104 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists agenda_entity cascade
Hibernate: drop table if exists appointment_entity cascade
Hibernate: drop table if exists brand_entity cascade
Hibernate: drop table if exists client_entity cascade
Hibernate: drop table if exists coverage_area_entity cascade
Hibernate: drop table if exists exclusive_product_entity cascade
Hibernate: drop table if exists professional_area cascade
Hibernate: drop table if exists professional_entity cascade
Hibernate: drop table if exists record_result_images cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_reference_images cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_record_entity cascade
Hibernate: create table agenda_entity (id bigint generated by default as identity, professional_id bigint unique, primary key (id))
Hibernate: create table appointment_entity (agenda_id bigint, id bigint generated by default as identity, professional_id bigint, scheduled_at timestamp(6), service_id bigint, user_id bigint, primary key (id))
Hibernate: create table brand_entity (id bigint generated by default as identity, logourl varchar(255), name varchar(255), primary key (id))
Hibernate: create table client_entity (id bigint generated by default as identity, address varchar(255), email varchar(255), full_name varchar(255), phone_number varchar(255), primary key (id))
Hibernate: create table coverage_area_entity (id bigint generated by default as identity, name varchar(255), primary key (id))
Hibernate: create table exclusive_product_entity (brand_id bigint, id bigint generated by default as identity, description varchar(255), name varchar(255), photo_url varchar(255), primary key (id))
Hibernate: create table professional_area (area_id bigint not null, professional_id bigint not null)
Hibernate: create table professional_entity (birth_date date, sponsored boolean not null, brand_id bigint, id bigint generated by default as identity, photo_url varchar(800), name varchar(255), summary varchar(255), primary key (id))
Hibernate: create table record_result_images (record_id bigint not null, image_url varchar(255))
Hibernate: create table review_entity (stars integer not null, client_id bigint not null, id bigint generated by default as identity, service_record_id bigint not null unique, opinion varchar(1000) not null, primary key (id))
Hibernate: create table service_reference_images (service_id bigint not null, image_url varchar(255))
Hibernate: create table service_entity (price float(53), brand_id bigint, id bigint generated by default as identity, professional_id bigint, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table service_record_entity (date_performed date, id bigint generated by default as identity, service_id bigint, primary key (id))
Hibernate: alter table if exists agenda_entity add constraint FKppmkpsoetr7lu0o3lnsm0mkck foreign key (professional_id) references professional_entity
Hibernate: alter table if exists appointment_entity add constraint FKlfi8k6o7x8e4vqwxehc2cr6p9 foreign key (agenda_id) references agenda_entity
Hibernate: alter table if exists appointment_entity add constraint FKc1bxhg9cd5enh1enqfumnphr8 foreign key (user_id) references client_entity
Hibernate: alter table if exists appointment_entity add constraint FKlgyt95docr3qo3w3b12upohdq foreign key (professional_id) references professional_entity
Hibernate: alter table if exists appointment_entity add constraint FKc3suy5i0uvkdifnsovna0k21q foreign key (service_id) references service_entity
Hibernate: alter table if exists exclusive_product_entity add constraint FKn9wuwqnt0sovxh2suun7kb4tf foreign key (brand_id) references brand_entity
Hibernate: alter table if exists professional_area add constraint FKg3atskd26w0kksa7n0m4wvunm foreign key (area_id) references coverage_area_entity
Hibernate: alter table if exists professional_area add constraint FKky0u5df6tlhc0ilt8d5m0fe3y foreign key (professional_id) references professional_entity
Hibernate: alter table if exists professional_entity add constraint FK1ktkd1s7d9q4nskl0cjsa7e4p foreign key (brand_id) references brand_entity
Hibernate: alter table if exists record_result_images add constraint FKpxgjmqb8khnt3dmiuljq1wpv foreign key (record_id) references service_record_entity
Hibernate: alter table if exists review_entity add constraint FKfc0i93dpqubh4qieybqcni10e foreign key (client_id) references client_entity
Hibernate: alter table if exists review_entity add constraint FKh7los7u9y9f2mirm28qtc25e9 foreign key (service_record_id) references service_record_entity
Hibernate: alter table if exists service_reference_images add constraint FKgwu3tvvn5c65fmnuwu7uhgmyf foreign key (service_id) references service_entity
Hibernate: alter table if exists service_entity add constraint FKr47jh4seunosgnksfmv1ar4gc foreign key (brand_id) references brand_entity
Hibernate: alter table if exists service_entity add constraint FKhsh9495cm0n8335ksuju77loo foreign key (professional_id) references professional_entity
Hibernate: alter table if exists service_record_entity add constraint FK9r0v3t38nfwdqg7bl58m2p7kn foreign key (service_id) references service_entity
2025-07-01T23:33:38.102Z INFO 104 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-01T23:33:38.310Z INFO 104 --- [ main] c.e.u.m.b.s.ExclusiveProductServiceTest : Started ExclusiveProductServiceTest in 0.604 seconds (process running for 13.626)
Hibernate: delete from exclusive_product_entity
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: select epe1_0.id,epe1_0.brand_id,epe1_0.description,epe1_0.name,epe1_0.photo_url from exclusive_product_entity epe1_0 where epe1_0.id=?
Hibernate: delete from exclusive_product_entity
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: select count(*) from exclusive_product_entity epe1_0 where epe1_0.id=?
Hibernate: delete from exclusive_product_entity
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: delete from exclusive_product_entity
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: select count(*) from exclusive_product_entity epe1_0 where epe1_0.id=?
Hibernate: delete from exclusive_product_entity
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: delete from exclusive_product_entity
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: select count(*) from exclusive_product_entity epe1_0 where epe1_0.id=?
Hibernate: delete from exclusive_product_entity
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: select count(*) from exclusive_product_entity epe1_0 where epe1_0.id=?
Hibernate: delete from exclusive_product_entity
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: delete from exclusive_product_entity
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: delete from exclusive_product_entity
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: select epe1_0.id,epe1_0.brand_id,epe1_0.description,epe1_0.name,epe1_0.photo_url from exclusive_product_entity epe1_0
Hibernate: delete from exclusive_product_entity
Hibernate: delete from brand_entity
Hibernate: insert into brand_entity (logourl,name,id) values (?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
Hibernate: insert into exclusive_product_entity (brand_id,description,name,photo_url,id) values (?,?,?,?,default)
[ERROR] Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.851 s <<< FAILURE! - in co.edu.udistrital.mdp.beautyathome.services.ExclusiveProductServiceTest
[ERROR] testCreateInvalidPrice Time elapsed: 0.008 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Expected co.edu.udistrital.mdp.beautyathome.exceptions.IllegalOperationException to be thrown, but nothing was thrown.
at co.edu.udistrital.mdp.beautyathome.services.ExclusiveProductServiceTest.testCreateInvalidPrice(ExclusiveProductServiceTest.java:130)
[INFO] Running co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest
2025-07-01T23:33:38.570Z INFO 104 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest]: ReviewServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-07-01T23:33:38.577Z INFO 104 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.beautyathome.MainApplication for test class co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.2.3)
2025-07-01T23:33:38.602Z INFO 104 --- [ main] c.e.u.m.b.services.ReviewServiceTest : Starting ReviewServiceTest using Java 21.0.4 with PID 104 (started by root in /home/cecaduser/workspace/MP_202510_G81_E4_BeautyAtHome_Back)
2025-07-01T23:33:38.602Z INFO 104 --- [ main] c.e.u.m.b.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-01T23:33:38.674Z INFO 104 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-01T23:33:38.691Z INFO 104 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 10 JPA repository interfaces.
2025-07-01T23:33:38.706Z INFO 104 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-01T23:33:38.719Z INFO 104 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:c7738843-d31b-4aa6-b900-27cd75bff6b8;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-01T23:33:38.737Z INFO 104 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-01T23:33:38.739Z INFO 104 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-01T23:33:38.742Z INFO 104 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-01T23:33:38.744Z WARN 104 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2025-07-01T23:33:38.900Z INFO 104 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists agenda_entity cascade
Hibernate: drop table if exists appointment_entity cascade
Hibernate: drop table if exists brand_entity cascade
Hibernate: drop table if exists client_entity cascade
Hibernate: drop table if exists coverage_area_entity cascade
Hibernate: drop table if exists exclusive_product_entity cascade
Hibernate: drop table if exists professional_area cascade
Hibernate: drop table if exists professional_entity cascade
Hibernate: drop table if exists record_result_images cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_reference_images cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_record_entity cascade
Hibernate: create table agenda_entity (id bigint generated by default as identity, professional_id bigint unique, primary key (id))
Hibernate: create table appointment_entity (agenda_id bigint, id bigint generated by default as identity, professional_id bigint, scheduled_at timestamp(6), service_id bigint, user_id bigint, primary key (id))
Hibernate: create table brand_entity (id bigint generated by default as identity, logourl varchar(255), name varchar(255), primary key (id))
Hibernate: create table client_entity (id bigint generated by default as identity, address varchar(255), email varchar(255), full_name varchar(255), phone_number varchar(255), primary key (id))
Hibernate: create table coverage_area_entity (id bigint generated by default as identity, name varchar(255), primary key (id))
Hibernate: create table exclusive_product_entity (brand_id bigint, id bigint generated by default as identity, description varchar(255), name varchar(255), photo_url varchar(255), primary key (id))
Hibernate: create table professional_area (area_id bigint not null, professional_id bigint not null)
Hibernate: create table professional_entity (birth_date date, sponsored boolean not null, brand_id bigint, id bigint generated by default as identity, photo_url varchar(800), name varchar(255), summary varchar(255), primary key (id))
Hibernate: create table record_result_images (record_id bigint not null, image_url varchar(255))
Hibernate: create table review_entity (stars integer not null, client_id bigint not null, id bigint generated by default as identity, service_record_id bigint not null unique, opinion varchar(1000) not null, primary key (id))
Hibernate: create table service_reference_images (service_id bigint not null, image_url varchar(255))
Hibernate: create table service_entity (price float(53), brand_id bigint, id bigint generated by default as identity, professional_id bigint, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table service_record_entity (date_performed date, id bigint generated by default as identity, service_id bigint, primary key (id))
Hibernate: alter table if exists agenda_entity add constraint FKppmkpsoetr7lu0o3lnsm0mkck foreign key (professional_id) references professional_entity
Hibernate: alter table if exists appointment_entity add constraint FKlfi8k6o7x8e4vqwxehc2cr6p9 foreign key (agenda_id) references agenda_entity
Hibernate: alter table if exists appointment_entity add constraint FKc1bxhg9cd5enh1enqfumnphr8 foreign key (user_id) references client_entity
Hibernate: alter table if exists appointment_entity add constraint FKlgyt95docr3qo3w3b12upohdq foreign key (professional_id) references professional_entity
Hibernate: alter table if exists appointment_entity add constraint FKc3suy5i0uvkdifnsovna0k21q foreign key (service_id) references service_entity
Hibernate: alter table if exists exclusive_product_entity add constraint FKn9wuwqnt0sovxh2suun7kb4tf foreign key (brand_id) references brand_entity
Hibernate: alter table if exists professional_area add constraint FKg3atskd26w0kksa7n0m4wvunm foreign key (area_id) references coverage_area_entity
Hibernate: alter table if exists professional_area add constraint FKky0u5df6tlhc0ilt8d5m0fe3y foreign key (professional_id) references professional_entity
Hibernate: alter table if exists professional_entity add constraint FK1ktkd1s7d9q4nskl0cjsa7e4p foreign key (brand_id) references brand_entity
Hibernate: alter table if exists record_result_images add constraint FKpxgjmqb8khnt3dmiuljq1wpv foreign key (record_id) references service_record_entity
Hibernate: alter table if exists review_entity add constraint FKfc0i93dpqubh4qieybqcni10e foreign key (client_id) references client_entity
Hibernate: alter table if exists review_entity add constraint FKh7los7u9y9f2mirm28qtc25e9 foreign key (service_record_id) references service_record_entity
Hibernate: alter table if exists service_reference_images add constraint FKgwu3tvvn5c65fmnuwu7uhgmyf foreign key (service_id) references service_entity
Hibernate: alter table if exists service_entity add constraint FKr47jh4seunosgnksfmv1ar4gc foreign key (brand_id) references brand_entity
Hibernate: alter table if exists service_entity add constraint FKhsh9495cm0n8335ksuju77loo foreign key (professional_id) references professional_entity
Hibernate: alter table if exists service_record_entity add constraint FK9r0v3t38nfwdqg7bl58m2p7kn foreign key (service_id) references service_entity
2025-07-01T23:33:38.930Z INFO 104 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-01T23:33:39.100Z INFO 104 --- [ main] c.e.u.m.b.services.ReviewServiceTest : Started ReviewServiceTest in 0.515 seconds (process running for 14.417)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into service_record_entity (date_performed,service_id,id) values (?,?,default)
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
[ERROR] Tests run: 20, Failures: 0, Errors: 20, Skipped: 0, Time elapsed: 0.72 s <<< FAILURE! - in co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest
[ERROR] testCreateReviewWithEmptyOpinion Time elapsed: 0.028 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testCreateReviewWithStarsLargerThanFive Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testUpdateInvalidReviewWithEmptyOpinion Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testCreateReview Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testUpdateInvalidReviewWithNullOpinion Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testCreateReviewWithNullService Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testCreateReviewWithNullClient Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testUpdateValidReview Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testUpdateInvalidReviewWithStarsAbove5 Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testUpdateInvalidReviewWithStarsBelow1 Time elapsed: 0.007 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testCreateReviewWithNullOpinion Time elapsed: 0.011 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testDeleteValidReview Time elapsed: 0.006 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testGetValidReview Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testCreateReviewWithStarsSmallerThanFive Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testGetInvalidReview Time elapsed: 0.009 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testDeleteInvalidReview Time elapsed: 0.009 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testUpdateInvalidReviewWithNullClient Time elapsed: 0.007 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testUpdateInvalidReview Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testGetReviews Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testUpdateInvalidReviewWithNullService Time elapsed: 0.009 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[INFO] Running co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest
2025-07-01T23:33:39.304Z INFO 104 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest]: ClientServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-07-01T23:33:39.310Z INFO 104 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.beautyathome.MainApplication for test class co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.2.3)
2025-07-01T23:33:39.331Z INFO 104 --- [ main] c.e.u.m.b.services.ClientServiceTest : Starting ClientServiceTest using Java 21.0.4 with PID 104 (started by root in /home/cecaduser/workspace/MP_202510_G81_E4_BeautyAtHome_Back)
2025-07-01T23:33:39.331Z INFO 104 --- [ main] c.e.u.m.b.services.ClientServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-01T23:33:39.417Z INFO 104 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-01T23:33:39.432Z INFO 104 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 10 JPA repository interfaces.
2025-07-01T23:33:39.446Z INFO 104 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-01T23:33:39.458Z INFO 104 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:5b139da5-6fec-4967-8110-687a80ba2a3e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-01T23:33:39.474Z INFO 104 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-01T23:33:39.476Z INFO 104 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-01T23:33:39.480Z INFO 104 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-01T23:33:39.481Z WARN 104 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2025-07-01T23:33:39.628Z INFO 104 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists agenda_entity cascade
Hibernate: drop table if exists appointment_entity cascade
Hibernate: drop table if exists brand_entity cascade
Hibernate: drop table if exists client_entity cascade
Hibernate: drop table if exists coverage_area_entity cascade
Hibernate: drop table if exists exclusive_product_entity cascade
Hibernate: drop table if exists professional_area cascade
Hibernate: drop table if exists professional_entity cascade
Hibernate: drop table if exists record_result_images cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_reference_images cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_record_entity cascade
Hibernate: create table agenda_entity (id bigint generated by default as identity, professional_id bigint unique, primary key (id))
Hibernate: create table appointment_entity (agenda_id bigint, id bigint generated by default as identity, professional_id bigint, scheduled_at timestamp(6), service_id bigint, user_id bigint, primary key (id))
Hibernate: create table brand_entity (id bigint generated by default as identity, logourl varchar(255), name varchar(255), primary key (id))
Hibernate: create table client_entity (id bigint generated by default as identity, address varchar(255), email varchar(255), full_name varchar(255), phone_number varchar(255), primary key (id))
Hibernate: create table coverage_area_entity (id bigint generated by default as identity, name varchar(255), primary key (id))
Hibernate: create table exclusive_product_entity (brand_id bigint, id bigint generated by default as identity, description varchar(255), name varchar(255), photo_url varchar(255), primary key (id))
Hibernate: create table professional_area (area_id bigint not null, professional_id bigint not null)
Hibernate: create table professional_entity (birth_date date, sponsored boolean not null, brand_id bigint, id bigint generated by default as identity, photo_url varchar(800), name varchar(255), summary varchar(255), primary key (id))
Hibernate: create table record_result_images (record_id bigint not null, image_url varchar(255))
Hibernate: create table review_entity (stars integer not null, client_id bigint not null, id bigint generated by default as identity, service_record_id bigint not null unique, opinion varchar(1000) not null, primary key (id))
Hibernate: create table service_reference_images (service_id bigint not null, image_url varchar(255))
Hibernate: create table service_entity (price float(53), brand_id bigint, id bigint generated by default as identity, professional_id bigint, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table service_record_entity (date_performed date, id bigint generated by default as identity, service_id bigint, primary key (id))
Hibernate: alter table if exists agenda_entity add constraint FKppmkpsoetr7lu0o3lnsm0mkck foreign key (professional_id) references professional_entity
Hibernate: alter table if exists appointment_entity add constraint FKlfi8k6o7x8e4vqwxehc2cr6p9 foreign key (agenda_id) references agenda_entity
Hibernate: alter table if exists appointment_entity add constraint FKc1bxhg9cd5enh1enqfumnphr8 foreign key (user_id) references client_entity
Hibernate: alter table if exists appointment_entity add constraint FKlgyt95docr3qo3w3b12upohdq foreign key (professional_id) references professional_entity
Hibernate: alter table if exists appointment_entity add constraint FKc3suy5i0uvkdifnsovna0k21q foreign key (service_id) references service_entity
Hibernate: alter table if exists exclusive_product_entity add constraint FKn9wuwqnt0sovxh2suun7kb4tf foreign key (brand_id) references brand_entity
Hibernate: alter table if exists professional_area add constraint FKg3atskd26w0kksa7n0m4wvunm foreign key (area_id) references coverage_area_entity
Hibernate: alter table if exists professional_area add constraint FKky0u5df6tlhc0ilt8d5m0fe3y foreign key (professional_id) references professional_entity
Hibernate: alter table if exists professional_entity add constraint FK1ktkd1s7d9q4nskl0cjsa7e4p foreign key (brand_id) references brand_entity
Hibernate: alter table if exists record_result_images add constraint FKpxgjmqb8khnt3dmiuljq1wpv foreign key (record_id) references service_record_entity
Hibernate: alter table if exists review_entity add constraint FKfc0i93dpqubh4qieybqcni10e foreign key (client_id) references client_entity
Hibernate: alter table if exists review_entity add constraint FKh7los7u9y9f2mirm28qtc25e9 foreign key (service_record_id) references service_record_entity
Hibernate: alter table if exists service_reference_images add constraint FKgwu3tvvn5c65fmnuwu7uhgmyf foreign key (service_id) references service_entity
Hibernate: alter table if exists service_entity add constraint FKr47jh4seunosgnksfmv1ar4gc foreign key (brand_id) references brand_entity
Hibernate: alter table if exists service_entity add constraint FKhsh9495cm0n8335ksuju77loo foreign key (professional_id) references professional_entity
Hibernate: alter table if exists service_record_entity add constraint FK9r0v3t38nfwdqg7bl58m2p7kn foreign key (service_id) references service_entity
2025-07-01T23:33:39.660Z INFO 104 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-01T23:33:39.800Z INFO 104 --- [ main] c.e.u.m.b.services.ClientServiceTest : Started ClientServiceTest in 0.487 seconds (process running for 15.117)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
Hibernate: delete from review_entity
Hibernate: delete from client_entity
Hibernate: insert into client_entity (address,email,full_name,phone_number,id) values (?,?,?,?,default)
[ERROR] Tests run: 26, Failures: 0, Errors: 26, Skipped: 0, Time elapsed: 0.655 s <<< FAILURE! - in co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest
[ERROR] testUpdateValidClient Time elapsed: 0.011 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testUpdateClientWithEmptyPhoneNumber Time elapsed: 0.007 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testUpdateClientWithNullAddress Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testUpdateClientWithNullName Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testCreateClientWithNullReviews Time elapsed: 0.019 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testCreateClientWithEmptyEmail Time elapsed: 0.007 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testCreateClientWithNullEmail Time elapsed: 0.006 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testUpdateClientWithNullEmail Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testUpdateClientWithEmptyEmail Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testDeleteValidClient Time elapsed: 0.006 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testCreateClientWithEmptyAddress Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testGetValidClient Time elapsed: 0.004 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testCreateClientWithNullPhoneNumber Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testGetInvalidClient Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testDeleteInvalidClient Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testCreateClientWithNullName Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testUpdateInvalidClient Time elapsed: 0.006 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testCreateClientWithNullAddress Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testGetClients Time elapsed: 0.003 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testUpdateClientWithNullReviews Time elapsed: 0.006 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testCreateClientWithEmptyName Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testCreateClientWithEmptyPhoneNumber Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testUpdateClientWithEmptyName Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testUpdateClientWithNullPhoneNumber Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testUpdateClientWithEmptyAddress Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testCreateClient Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[INFO] Running co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest
2025-07-01T23:33:39.977Z INFO 104 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest]: ProfessionalServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-07-01T23:33:39.984Z INFO 104 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.beautyathome.MainApplication for test class co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.2.3)
2025-07-01T23:33:40.000Z INFO 104 --- [ main] c.e.u.m.b.s.ProfessionalServiceTest : Starting ProfessionalServiceTest using Java 21.0.4 with PID 104 (started by root in /home/cecaduser/workspace/MP_202510_G81_E4_BeautyAtHome_Back)
2025-07-01T23:33:40.000Z INFO 104 --- [ main] c.e.u.m.b.s.ProfessionalServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-01T23:33:40.065Z INFO 104 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-01T23:33:40.080Z INFO 104 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 10 JPA repository interfaces.
2025-07-01T23:33:40.093Z INFO 104 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-01T23:33:40.103Z INFO 104 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:aa288289-4739-4977-a5cd-7eafe43abe84;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-01T23:33:40.119Z INFO 104 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-01T23:33:40.121Z INFO 104 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-01T23:33:40.124Z INFO 104 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-01T23:33:40.126Z WARN 104 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2025-07-01T23:33:40.263Z INFO 104 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists agenda_entity cascade
Hibernate: drop table if exists appointment_entity cascade
Hibernate: drop table if exists brand_entity cascade
Hibernate: drop table if exists client_entity cascade
Hibernate: drop table if exists coverage_area_entity cascade
Hibernate: drop table if exists exclusive_product_entity cascade
Hibernate: drop table if exists professional_area cascade
Hibernate: drop table if exists professional_entity cascade
Hibernate: drop table if exists record_result_images cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_reference_images cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_record_entity cascade
Hibernate: create table agenda_entity (id bigint generated by default as identity, professional_id bigint unique, primary key (id))
Hibernate: create table appointment_entity (agenda_id bigint, id bigint generated by default as identity, professional_id bigint, scheduled_at timestamp(6), service_id bigint, user_id bigint, primary key (id))
Hibernate: create table brand_entity (id bigint generated by default as identity, logourl varchar(255), name varchar(255), primary key (id))
Hibernate: create table client_entity (id bigint generated by default as identity, address varchar(255), email varchar(255), full_name varchar(255), phone_number varchar(255), primary key (id))
Hibernate: create table coverage_area_entity (id bigint generated by default as identity, name varchar(255), primary key (id))
Hibernate: create table exclusive_product_entity (brand_id bigint, id bigint generated by default as identity, description varchar(255), name varchar(255), photo_url varchar(255), primary key (id))
Hibernate: create table professional_area (area_id bigint not null, professional_id bigint not null)
Hibernate: create table professional_entity (birth_date date, sponsored boolean not null, brand_id bigint, id bigint generated by default as identity, photo_url varchar(800), name varchar(255), summary varchar(255), primary key (id))
Hibernate: create table record_result_images (record_id bigint not null, image_url varchar(255))
Hibernate: create table review_entity (stars integer not null, client_id bigint not null, id bigint generated by default as identity, service_record_id bigint not null unique, opinion varchar(1000) not null, primary key (id))
Hibernate: create table service_reference_images (service_id bigint not null, image_url varchar(255))
Hibernate: create table service_entity (price float(53), brand_id bigint, id bigint generated by default as identity, professional_id bigint, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table service_record_entity (date_performed date, id bigint generated by default as identity, service_id bigint, primary key (id))
Hibernate: alter table if exists agenda_entity add constraint FKppmkpsoetr7lu0o3lnsm0mkck foreign key (professional_id) references professional_entity
Hibernate: alter table if exists appointment_entity add constraint FKlfi8k6o7x8e4vqwxehc2cr6p9 foreign key (agenda_id) references agenda_entity
Hibernate: alter table if exists appointment_entity add constraint FKc1bxhg9cd5enh1enqfumnphr8 foreign key (user_id) references client_entity
Hibernate: alter table if exists appointment_entity add constraint FKlgyt95docr3qo3w3b12upohdq foreign key (professional_id) references professional_entity
Hibernate: alter table if exists appointment_entity add constraint FKc3suy5i0uvkdifnsovna0k21q foreign key (service_id) references service_entity
Hibernate: alter table if exists exclusive_product_entity add constraint FKn9wuwqnt0sovxh2suun7kb4tf foreign key (brand_id) references brand_entity
Hibernate: alter table if exists professional_area add constraint FKg3atskd26w0kksa7n0m4wvunm foreign key (area_id) references coverage_area_entity
Hibernate: alter table if exists professional_area add constraint FKky0u5df6tlhc0ilt8d5m0fe3y foreign key (professional_id) references professional_entity
Hibernate: alter table if exists professional_entity add constraint FK1ktkd1s7d9q4nskl0cjsa7e4p foreign key (brand_id) references brand_entity
Hibernate: alter table if exists record_result_images add constraint FKpxgjmqb8khnt3dmiuljq1wpv foreign key (record_id) references service_record_entity
Hibernate: alter table if exists review_entity add constraint FKfc0i93dpqubh4qieybqcni10e foreign key (client_id) references client_entity
Hibernate: alter table if exists review_entity add constraint FKh7los7u9y9f2mirm28qtc25e9 foreign key (service_record_id) references service_record_entity
Hibernate: alter table if exists service_reference_images add constraint FKgwu3tvvn5c65fmnuwu7uhgmyf foreign key (service_id) references service_entity
Hibernate: alter table if exists service_entity add constraint FKr47jh4seunosgnksfmv1ar4gc foreign key (brand_id) references brand_entity
Hibernate: alter table if exists service_entity add constraint FKhsh9495cm0n8335ksuju77loo foreign key (professional_id) references professional_entity
Hibernate: alter table if exists service_record_entity add constraint FK9r0v3t38nfwdqg7bl58m2p7kn foreign key (service_id) references service_entity
2025-07-01T23:33:40.289Z INFO 104 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-01T23:33:40.478Z INFO 104 --- [ main] c.e.u.m.b.s.ProfessionalServiceTest : Started ProfessionalServiceTest in 0.492 seconds (process running for 15.794)
[ERROR] Tests run: 26, Failures: 0, Errors: 26, Skipped: 0, Time elapsed: 0.543 s <<< FAILURE! - in co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest
[ERROR] testUpdateProfessional Time elapsed: 0.005 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testGetValidProfessional Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessionalWithEmptyName Time elapsed: 0.004 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testUpdateInvalidProfessionalWithNullServices Time elapsed: 0.001 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testGetInvalidProfessional Time elapsed: 0 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessionalWithEmptyBirthDate Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testUpdateInvalidProfessionalWithNullSummary Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testGetProfessionals Time elapsed: 0.004 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessionalWithNullServices Time elapsed: 0.001 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessionalWithNullCoverageAreas Time elapsed: 0.003 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testDeleteValidProfessional Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testDeleteInvalidProfessional Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testUpdateInvalidProfessionalWithNullPhotoUrl Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testUpdateInvalidProfessionalWithNullBirthDate Time elapsed: 0.003 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testUpdateInvalidProfessionalWithNullAgenda Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessionalWithEmptyPhotoUrl Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testUpdateInvalidProfessionalWithNullName Time elapsed: 0.003 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessionalWithNullBirthDate Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testUpdateInvalidProfessional Time elapsed: 0.003 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessionalWithEmptySummary Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessional Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testUpdateInvalidProfessionalWithNullCoverageAreas Time elapsed: 0.003 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessionalWithNullPhotoUrl Time elapsed: 0.003 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessionalWithNullAgenda Time elapsed: 0.001 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessionalWithNullName Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessionalWithNullSummary Time elapsed: 0.001 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
2025-07-01T23:33:40.568Z INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists agenda_entity cascade
Hibernate: drop table if exists appointment_entity cascade
Hibernate: drop table if exists brand_entity cascade
Hibernate: drop table if exists client_entity cascade
Hibernate: drop table if exists coverage_area_entity cascade
Hibernate: drop table if exists exclusive_product_entity cascade
Hibernate: drop table if exists professional_area cascade
Hibernate: drop table if exists professional_entity cascade
Hibernate: drop table if exists record_result_images cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_reference_images cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_record_entity cascade
2025-07-01T23:33:40.710Z INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists agenda_entity cascade
Hibernate: drop table if exists appointment_entity cascade
Hibernate: drop table if exists brand_entity cascade
Hibernate: drop table if exists client_entity cascade
Hibernate: drop table if exists coverage_area_entity cascade
Hibernate: drop table if exists exclusive_product_entity cascade
Hibernate: drop table if exists professional_area cascade
Hibernate: drop table if exists professional_entity cascade
Hibernate: drop table if exists record_result_images cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_reference_images cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_record_entity cascade
2025-07-01T23:33:40.717Z INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists agenda_entity cascade
Hibernate: drop table if exists appointment_entity cascade
Hibernate: drop table if exists brand_entity cascade
Hibernate: drop table if exists client_entity cascade
Hibernate: drop table if exists coverage_area_entity cascade
Hibernate: drop table if exists exclusive_product_entity cascade
Hibernate: drop table if exists professional_area cascade
Hibernate: drop table if exists professional_entity cascade
Hibernate: drop table if exists record_result_images cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_reference_images cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_record_entity cascade
2025-07-01T23:33:40.724Z INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists agenda_entity cascade
Hibernate: drop table if exists appointment_entity cascade
Hibernate: drop table if exists brand_entity cascade
Hibernate: drop table if exists client_entity cascade
Hibernate: drop table if exists coverage_area_entity cascade
Hibernate: drop table if exists exclusive_product_entity cascade
Hibernate: drop table if exists professional_area cascade
Hibernate: drop table if exists professional_entity cascade
Hibernate: drop table if exists record_result_images cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_reference_images cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_record_entity cascade
2025-07-01T23:33:40.730Z INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists agenda_entity cascade
Hibernate: drop table if exists appointment_entity cascade
Hibernate: drop table if exists brand_entity cascade
Hibernate: drop table if exists client_entity cascade
Hibernate: drop table if exists coverage_area_entity cascade
Hibernate: drop table if exists exclusive_product_entity cascade
Hibernate: drop table if exists professional_area cascade
Hibernate: drop table if exists professional_entity cascade
Hibernate: drop table if exists record_result_images cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_reference_images cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_record_entity cascade
2025-07-01T23:33:40.737Z INFO 104 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists agenda_entity cascade
Hibernate: drop table if exists appointment_entity cascade
Hibernate: drop table if exists brand_entity cascade
Hibernate: drop table if exists client_entity cascade
Hibernate: drop table if exists coverage_area_entity cascade
Hibernate: drop table if exists exclusive_product_entity cascade
Hibernate: drop table if exists professional_area cascade
Hibernate: drop table if exists professional_entity cascade
Hibernate: drop table if exists record_result_images cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_reference_images cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_record_entity cascade
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] ExclusiveProductServiceTest.testCreateInvalidPrice:130 Expected co.edu.udistrital.mdp.beautyathome.exceptions.IllegalOperationException to be thrown, but nothing was thrown.
[ERROR] ServiceServiceTest.testCreateServiceWithEmptyDescription:162 Expected co.edu.udistrital.mdp.beautyathome.exceptions.IllegalOperationException to be thrown, but nothing was thrown.
[ERROR] ServiceServiceTest.testCreateServiceWithEmptyName:147 Expected co.edu.udistrital.mdp.beautyathome.exceptions.IllegalOperationException to be thrown, but nothing was thrown.
[ERROR] ServiceServiceTest.testUpdateInvalidServiceWithEmptyDescription:348 Expected co.edu.udistrital.mdp.beautyathome.exceptions.IllegalOperationException to be thrown, but nothing was thrown.
[ERROR] ServiceServiceTest.testUpdateInvalidServiceWithEmptyName:332 Expected co.edu.udistrital.mdp.beautyathome.exceptions.IllegalOperationException to be thrown, but nothing was thrown.
[ERROR] Errors:
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ClientServiceTest.setUp:43->insertData:55 » PropertyValue not-null property re...
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ProfessionalServiceTest.setUp:47->clearData:51 NullPointer Cannot invoke "org....
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[ERROR] ReviewServiceTest.setUp:58->insertData:77 » PropertyValue not-null property re...
[INFO]
[ERROR] Tests run: 114, Failures: 5, Errors: 72, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.410 s
[INFO] Finished at: 2025-07-01T23:33:41Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project MP_202510_G81_E4_BeautyAtHome_Back: There are test failures.
[ERROR]
[ERROR] Please refer to /home/cecaduser/workspace/MP_202510_G81_E4_BeautyAtHome_Back/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException