Console Output
Skipping 67 KB..
Full Logored,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-02T06:36:40.494Z INFO 97 --- [ 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-02T06:36:40.567Z INFO 97 --- [ 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-02T06:36:40.602Z INFO 97 --- [ 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-02T06:36:40.628Z INFO 97 --- [ 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=pVxLL9rlf9, photoUrl=9ODYk38vRF, summary=IQfD87eoJv, sponsored=true, birthDate=2025-07-02, brand=null, coverageAreas=null, services=[], agenda=null), records=[ServiceRecordEntity(datePerformed=2025-07-02, resultImageUrls=[nBciFvG5I4, j5NGkS6PUp, QLpFmXez1t, _a1XEkaql6, m8V7bImhax], service=null, review=null), ServiceRecordEntity(datePerformed=2025-07-02, resultImageUrls=[nsv0celnnK, sE444wfFtU, 27hL9BvsLe, q_slxQC3sz, m29_bppqHq], service=null, review=null), ServiceRecordEntity(datePerformed=2025-07-02, resultImageUrls=[2WmdPeP_3C, wXZIccZnVy, nxgBjpeVgg, EibIusOs_3, LhNQQfNG_y], service=null, review=null)], brand=BrandEntity(name=MZ0uemA60S, logoURL=Wx07IVmzi4, exclusiveProducts=[ExclusiveProductEntity(name=J9iXxlexyt, photoUrl=wUS2awvfB8, description=xammajslNO, brand=null), ExclusiveProductEntity(name=eLqqReiwZ0, photoUrl=haxitPwf5l, description=Reep4EyVQM, brand=null), ExclusiveProductEntity(name=7ThcI42UmO, photoUrl=psohR4sH0_, description=egochlpLYI, brand=null), ExclusiveProductEntity(name=0HkYXC4ahS, photoUrl=CSHeNaIkwo, description=vIpgCtZfmX, brand=null), ExclusiveProductEntity(name=oefIC1mkzU, photoUrl=T7ZKK4eup0, description=Yn6HRlYy1p, 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-02T06:36:40.678Z INFO 97 --- [ 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-02T06:36:40.679Z INFO 97 --- [ 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=aeoIYwBFQd, photoUrl=JKehemN1Df, summary=zTItI8jfBi, sponsored=true, birthDate=2025-07-02, brand=null, coverageAreas=null, services=[], agenda=null), records=[ServiceRecordEntity(datePerformed=2025-07-02, resultImageUrls=[uWut4hz0go, FJ99p8oysy, KK3upNLLVW, vrFu53Kye7, Mh2rBJaGwZ], service=null, review=null), ServiceRecordEntity(datePerformed=2025-07-02, resultImageUrls=[g_16b11_qk, oUWsv29atO, BI5s6W6K0M, xUcOtMDyNO, MYmU4s6Js6], service=null, review=null), ServiceRecordEntity(datePerformed=2025-07-02, resultImageUrls=[WxdeWqp_s9, xG5J4J_tJk, QpHy3lPDWR, vM6yi0aby_, DHytuC9kUD], service=null, review=null)], brand=BrandEntity(name=hTTcO0rjGY, logoURL=4zLh0X4KEi, exclusiveProducts=[ExclusiveProductEntity(name=TcFBXuwG7X, photoUrl=6gmm5pTC9e, description=QkbywYNH16, brand=null), ExclusiveProductEntity(name=VWV3ycQGiu, photoUrl=PmzCUu3yTi, description=GcXvZVtPjl, brand=null), ExclusiveProductEntity(name=QNlf8dhzUz, photoUrl=Z2KfZQlMqC, description=Mrdl25QUoz, brand=null), ExclusiveProductEntity(name=S_fTT0D3GD, photoUrl=9sN6y4YB54, description=mb2m3ebp50, brand=null), ExclusiveProductEntity(name=7e9p1XK2Ch, photoUrl=Qsw2Mxj4kX, description=85GxBHNYnH, brand=null)]))
[ERROR] Tests run: 22, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 8.897 s <<< FAILURE! - in co.edu.udistrital.mdp.beautyathome.services.ServiceServiceTest
[ERROR] testUpdateInvalidServiceWithEmptyName Time elapsed: 0.093 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.034 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.043 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.028 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-02T06:36:40.687Z INFO 97 --- [ 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-02T06:36:40.696Z INFO 97 --- [ 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-02T06:36:40.722Z INFO 97 --- [ main] c.e.u.m.b.services.BrandServiceTest : Starting BrandServiceTest using Java 21.0.4 with PID 97 (started by root in /home/cecaduser/workspace/MP_202510_G81_E4_BeautyAtHome_Back)
2025-07-02T06:36:40.723Z INFO 97 --- [ main] c.e.u.m.b.services.BrandServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-02T06:36:40.871Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T06:36:40.894Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 10 JPA repository interfaces.
2025-07-02T06:36:40.914Z INFO 97 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T06:36:40.931Z INFO 97 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:af6e825d-8a6f-4346-a035-5cbb640edb9c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T06:36:40.955Z INFO 97 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T06:36:40.957Z INFO 97 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-02T06:36:40.961Z INFO 97 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T06:36:40.963Z WARN 97 --- [ 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-02T06:36:41.191Z INFO 97 --- [ 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, coverage_area_name varchar(255), 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-02T06:36:41.232Z INFO 97 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T06:36:41.414Z INFO 97 --- [ main] c.e.u.m.b.services.BrandServiceTest : Started BrandServiceTest in 0.714 seconds (process running for 10.75)
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.87 s - in co.edu.udistrital.mdp.beautyathome.services.BrandServiceTest
[INFO] Running co.edu.udistrital.mdp.beautyathome.services.ExclusiveProductServiceTest
2025-07-02T06:36:41.617Z INFO 97 --- [ 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-02T06:36:41.620Z INFO 97 --- [ 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-02T06:36:41.644Z INFO 97 --- [ main] c.e.u.m.b.s.ExclusiveProductServiceTest : Starting ExclusiveProductServiceTest using Java 21.0.4 with PID 97 (started by root in /home/cecaduser/workspace/MP_202510_G81_E4_BeautyAtHome_Back)
2025-07-02T06:36:41.645Z INFO 97 --- [ main] c.e.u.m.b.s.ExclusiveProductServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-02T06:36:41.729Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T06:36:41.746Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 10 JPA repository interfaces.
2025-07-02T06:36:41.765Z INFO 97 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T06:36:41.778Z INFO 97 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:8c4f459c-734c-44a8-9daf-b043335d49ed;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T06:36:41.797Z INFO 97 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T06:36:41.798Z INFO 97 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-02T06:36:41.802Z INFO 97 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T06:36:41.804Z WARN 97 --- [ 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-02T06:36:41.990Z INFO 97 --- [ 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, coverage_area_name varchar(255), 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-02T06:36:42.026Z INFO 97 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T06:36:42.204Z INFO 97 --- [ main] c.e.u.m.b.s.ExclusiveProductServiceTest : Started ExclusiveProductServiceTest in 0.581 seconds (process running for 11.541)
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.823 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-02T06:36:42.455Z INFO 97 --- [ 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-02T06:36:42.462Z INFO 97 --- [ 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-02T06:36:42.483Z INFO 97 --- [ main] c.e.u.m.b.services.ReviewServiceTest : Starting ReviewServiceTest using Java 21.0.4 with PID 97 (started by root in /home/cecaduser/workspace/MP_202510_G81_E4_BeautyAtHome_Back)
2025-07-02T06:36:42.483Z INFO 97 --- [ main] c.e.u.m.b.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-02T06:36:42.576Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T06:36:42.598Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 10 JPA repository interfaces.
2025-07-02T06:36:42.615Z INFO 97 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T06:36:42.628Z INFO 97 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:d614723e-8131-4c87-a809-d25371f26c1e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T06:36:42.650Z INFO 97 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T06:36:42.652Z INFO 97 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-02T06:36:42.656Z INFO 97 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T06:36:42.657Z WARN 97 --- [ 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-02T06:36:42.837Z INFO 97 --- [ 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, coverage_area_name varchar(255), 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-02T06:36:42.872Z INFO 97 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T06:36:43.033Z INFO 97 --- [ main] c.e.u.m.b.services.ReviewServiceTest : Started ReviewServiceTest in 0.569 seconds (process running for 12.37)
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.792 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.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] testUpdateInvalidReviewWithEmptyOpinion 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] 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.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] testCreateReviewWithNullService Time elapsed: 0.021 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.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] testUpdateValidReview 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] 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.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] testCreateReviewWithNullOpinion 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] testDeleteValidReview 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.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testGetValidReview 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] testCreateReviewWithStarsSmallerThanFive 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] testGetInvalidReview 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] testDeleteInvalidReview Time elapsed: 0.01 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.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] testUpdateInvalidReview 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] 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.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)
[INFO] Running co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest
2025-07-02T06:36:43.253Z INFO 97 --- [ 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-02T06:36:43.259Z INFO 97 --- [ 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-02T06:36:43.277Z INFO 97 --- [ main] c.e.u.m.b.services.ClientServiceTest : Starting ClientServiceTest using Java 21.0.4 with PID 97 (started by root in /home/cecaduser/workspace/MP_202510_G81_E4_BeautyAtHome_Back)
2025-07-02T06:36:43.278Z INFO 97 --- [ main] c.e.u.m.b.services.ClientServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-02T06:36:43.360Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T06:36:43.375Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 10 JPA repository interfaces.
2025-07-02T06:36:43.391Z INFO 97 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T06:36:43.403Z INFO 97 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:da39d8b6-d8eb-4fce-8f22-5596c6e187dc;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T06:36:43.420Z INFO 97 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T06:36:43.422Z INFO 97 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-02T06:36:43.427Z INFO 97 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T06:36:43.428Z WARN 97 --- [ 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-02T06:36:43.575Z INFO 97 --- [ 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, coverage_area_name varchar(255), 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-02T06:36:43.603Z INFO 97 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T06:36:43.761Z INFO 97 --- [ main] c.e.u.m.b.services.ClientServiceTest : Started ClientServiceTest in 0.5 seconds (process running for 13.098)
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.644 s <<< FAILURE! - in co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest
[ERROR] testUpdateValidClient 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.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testUpdateClientWithEmptyPhoneNumber 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] 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.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] testCreateClientWithNullReviews 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] testCreateClientWithEmptyEmail 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] 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.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] 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.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] testCreateClientWithNullPhoneNumber 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] 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.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] testGetClients 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] 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.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] 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-02T06:36:43.925Z INFO 97 --- [ 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-02T06:36:43.931Z INFO 97 --- [ 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-02T06:36:43.949Z INFO 97 --- [ main] c.e.u.m.b.s.ProfessionalServiceTest : Starting ProfessionalServiceTest using Java 21.0.4 with PID 97 (started by root in /home/cecaduser/workspace/MP_202510_G81_E4_BeautyAtHome_Back)
2025-07-02T06:36:43.949Z INFO 97 --- [ main] c.e.u.m.b.s.ProfessionalServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-02T06:36:44.023Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T06:36:44.038Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 10 JPA repository interfaces.
2025-07-02T06:36:44.051Z INFO 97 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T06:36:44.061Z INFO 97 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:0bcc3154-6224-45a6-b89a-f1d00a9c77ca;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T06:36:44.077Z INFO 97 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T06:36:44.079Z INFO 97 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-02T06:36:44.082Z INFO 97 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T06:36:44.084Z WARN 97 --- [ 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-02T06:36:44.236Z INFO 97 --- [ 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, coverage_area_name varchar(255), 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-02T06:36:44.264Z INFO 97 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T06:36:44.404Z INFO 97 --- [ main] c.e.u.m.b.s.ProfessionalServiceTest : Started ProfessionalServiceTest in 0.471 seconds (process running for 13.741)
[ERROR] Tests run: 26, Failures: 0, Errors: 26, Skipped: 0, Time elapsed: 0.519 s <<< FAILURE! - in co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest
[ERROR] testUpdateProfessional 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] 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.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] testUpdateInvalidProfessionalWithNullServices 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] testGetInvalidProfessional 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] testCreateProfessionalWithEmptyBirthDate 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] 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.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] 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.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] 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.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] 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.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] 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.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] testCreateProfessionalWithEmptySummary 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] testCreateProfessional 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] testUpdateInvalidProfessionalWithNullCoverageAreas 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] testCreateProfessionalWithNullPhotoUrl 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] testCreateProfessionalWithNullAgenda 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] 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.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)
2025-07-02T06:36:44.625Z INFO 97 --- [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-02T06:36:44.635Z INFO 97 --- [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-02T06:36:44.641Z INFO 97 --- [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-02T06:36:44.646Z INFO 97 --- [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-02T06:36:44.652Z INFO 97 --- [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-02T06:36:44.656Z INFO 97 --- [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: 19.740 s
[INFO] Finished at: 2025-07-02T06:36:45Z
[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