Console Output
Skipping 67 KB..
Full Logry,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-02T02:31:20.709Z 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-02T02:31:20.785Z 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-02T02:31:20.824Z 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-02T02:31:20.860Z 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=ANBtBzxZuE, photoUrl=oFg1hd1h0T, summary=zQxb88mvry, sponsored=true, birthDate=2025-07-02, brand=null, coverageAreas=null, services=[], agenda=null), records=[ServiceRecordEntity(datePerformed=2025-07-02, resultImageUrls=[eIeOAralKu, YLv_96I34L, cx7CKiSOGr, Hhj4JycStb, 7T8Jsm77qX], service=null, review=null), ServiceRecordEntity(datePerformed=2025-07-02, resultImageUrls=[fEjOTMj0TH, ruK4eQY3Ms, MzteQo637K, YJnDe4kkrD, JsIUtlq921], service=null, review=null), ServiceRecordEntity(datePerformed=2025-07-02, resultImageUrls=[rAGnI5dTt6, HiTx4wEj_G, jBGU3y14Tl, CMLYxHV3eU, eIk7NtGTMd], service=null, review=null)], brand=BrandEntity(name=npS2RK_jvr, logoURL=jK3RVBhGwJ, exclusiveProducts=[ExclusiveProductEntity(name=_1jcNta6vT, photoUrl=BSzYYmBJ2F, description=0NTYxdwqrD, brand=null), ExclusiveProductEntity(name=VnhPqEebDU, photoUrl=uL2eDplYXc, description=o4jkUFrvUb, brand=null), ExclusiveProductEntity(name=LmQICCuvJJ, photoUrl=N_l1IfOsjQ, description=bl0LafhzDl, brand=null), ExclusiveProductEntity(name=itYpud3TDl, photoUrl=PqretOvJq2, description=3Vyl8fWORR, brand=null), ExclusiveProductEntity(name=2EAQp5jgmX, photoUrl=_we5qXHKz1, description=rH3lYGwpMJ, 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-02T02:31:20.923Z 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-02T02:31:20.924Z 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=66yWQ89t9a, photoUrl=DNZNuo9hjb, summary=4vx7cwUwqz, sponsored=true, birthDate=2025-07-02, brand=null, coverageAreas=null, services=[], agenda=null), records=[ServiceRecordEntity(datePerformed=2025-07-02, resultImageUrls=[BtFsGgoXRO, RF85XSmKlX, TURnWnYha2, cr9Ym2ayRF, d6Z2JONiru], service=null, review=null), ServiceRecordEntity(datePerformed=2025-07-02, resultImageUrls=[gIqyqdLjx_, _fRrVhH6BV, _35_b1xj22, 5ak4Eqv9EK, V_WgiOIcUf], service=null, review=null), ServiceRecordEntity(datePerformed=2025-07-02, resultImageUrls=[Dwho8tut3n, UoEl2jBWF0, Njyer65Sdy, mlERqYjOqL, 8KbggfBmis], service=null, review=null)], brand=BrandEntity(name=laUjx0YWla, logoURL=Ez0Y64BIdG, exclusiveProducts=[ExclusiveProductEntity(name=joAOXKuxCp, photoUrl=sFgf2kjQuF, description=AqW3cY0dII, brand=null), ExclusiveProductEntity(name=DXzTs9WKGy, photoUrl=7kz3lgg3TW, description=4ahNhtBRGH, brand=null), ExclusiveProductEntity(name=0csyzi9lBk, photoUrl=8lYd8JKamI, description=aANX7ux2HL, brand=null), ExclusiveProductEntity(name=iAyiUmNFxS, photoUrl=5AsAXcCZyH, description=JhfM7LmRFN, brand=null), ExclusiveProductEntity(name=MBm3G2IqcM, photoUrl=kAQNmvaLgQ, description=ZwZR8liIzu, brand=null)]))
[ERROR] Tests run: 22, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 9.102 s <<< FAILURE! - in co.edu.udistrital.mdp.beautyathome.services.ServiceServiceTest
[ERROR] testUpdateInvalidServiceWithEmptyName Time elapsed: 0.075 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.039 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Expected co.edu.udistrital.mdp.beautyathome.exceptions.IllegalOperationException to be thrown, but nothing was thrown.
at co.edu.udistrital.mdp.beautyathome.services.ServiceServiceTest.testCreateServiceWithEmptyDescription(ServiceServiceTest.java:162)
[ERROR] testCreateServiceWithEmptyName Time elapsed: 0.036 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Expected co.edu.udistrital.mdp.beautyathome.exceptions.IllegalOperationException to be thrown, but nothing was thrown.
at co.edu.udistrital.mdp.beautyathome.services.ServiceServiceTest.testCreateServiceWithEmptyName(ServiceServiceTest.java:147)
[ERROR] testUpdateInvalidServiceWithEmptyDescription Time elapsed: 0.036 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Expected co.edu.udistrital.mdp.beautyathome.exceptions.IllegalOperationException to be thrown, but nothing was thrown.
at co.edu.udistrital.mdp.beautyathome.services.ServiceServiceTest.testUpdateInvalidServiceWithEmptyDescription(ServiceServiceTest.java:348)
[INFO] Running co.edu.udistrital.mdp.beautyathome.services.BrandServiceTest
2025-07-02T02:31:20.932Z 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-02T02:31:20.942Z 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-02T02:31:20.971Z 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-02T02:31:20.971Z INFO 97 --- [ main] c.e.u.m.b.services.BrandServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-02T02:31:21.117Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T02:31:21.141Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24 ms. Found 10 JPA repository interfaces.
2025-07-02T02:31:21.162Z INFO 97 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T02:31:21.179Z INFO 97 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:f47efd36-55b2-48f9-a740-1eca0ea7f304;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T02:31:21.203Z INFO 97 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T02:31:21.205Z INFO 97 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-02T02:31:21.209Z INFO 97 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T02:31:21.211Z 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-02T02:31:21.434Z 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-02T02:31:21.472Z INFO 97 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T02:31:21.686Z INFO 97 --- [ main] c.e.u.m.b.services.BrandServiceTest : Started BrandServiceTest in 0.74 seconds (process running for 10.93)
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.858 s - in co.edu.udistrital.mdp.beautyathome.services.BrandServiceTest
[INFO] Running co.edu.udistrital.mdp.beautyathome.services.ExclusiveProductServiceTest
2025-07-02T02:31:21.860Z 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-02T02:31:21.864Z 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-02T02:31:21.887Z 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-02T02:31:21.888Z INFO 97 --- [ main] c.e.u.m.b.s.ExclusiveProductServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-02T02:31:21.987Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T02:31:22.005Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 10 JPA repository interfaces.
2025-07-02T02:31:22.023Z INFO 97 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T02:31:22.037Z INFO 97 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:931526b2-e2d6-41f0-a90f-bf5ac1bdb398;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T02:31:22.056Z INFO 97 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T02:31:22.057Z INFO 97 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-02T02:31:22.061Z INFO 97 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T02:31:22.063Z 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-02T02:31:22.245Z 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-02T02:31:22.280Z INFO 97 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T02:31:22.438Z INFO 97 --- [ main] c.e.u.m.b.s.ExclusiveProductServiceTest : Started ExclusiveProductServiceTest in 0.571 seconds (process running for 11.682)
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.813 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-02T02:31:22.698Z 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-02T02:31:22.705Z 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-02T02:31:22.728Z 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-02T02:31:22.728Z INFO 97 --- [ main] c.e.u.m.b.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-02T02:31:22.803Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T02:31:22.820Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 10 JPA repository interfaces.
2025-07-02T02:31:22.836Z INFO 97 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T02:31:22.849Z INFO 97 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:e31af8fb-87f7-4b67-842e-5cac5983b7c7;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T02:31:22.868Z INFO 97 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T02:31:22.870Z INFO 97 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-02T02:31:22.873Z INFO 97 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T02:31:22.875Z 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-02T02:31:23.034Z 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-02T02:31:23.064Z INFO 97 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T02:31:23.225Z INFO 97 --- [ main] c.e.u.m.b.services.ReviewServiceTest : Started ReviewServiceTest in 0.517 seconds (process running for 12.469)
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.716 s <<< FAILURE! - in co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest
[ERROR] testCreateReviewWithEmptyOpinion Time elapsed: 0.027 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.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testCreateReview Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testUpdateInvalidReviewWithNullOpinion Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testCreateReviewWithNullService Time elapsed: 0.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] testCreateReviewWithNullClient Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testUpdateValidReview Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testUpdateInvalidReviewWithStarsAbove5 Time elapsed: 0.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] testUpdateInvalidReviewWithStarsBelow1 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] testCreateReviewWithNullOpinion Time elapsed: 0.013 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testDeleteValidReview Time elapsed: 0.006 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testGetValidReview Time elapsed: 0.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] testCreateReviewWithStarsSmallerThanFive Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testGetInvalidReview Time elapsed: 0.013 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.011 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testUpdateInvalidReviewWithNullClient Time elapsed: 0.006 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testUpdateInvalidReview Time elapsed: 0.008 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testGetReviews Time elapsed: 0.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.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[ERROR] testUpdateInvalidReviewWithNullService Time elapsed: 0.009 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.insertData(ReviewServiceTest.java:77)
at co.edu.udistrital.mdp.beautyathome.services.ReviewServiceTest.setUp(ReviewServiceTest.java:58)
[INFO] Running co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest
2025-07-02T02:31:23.439Z 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-02T02:31:23.446Z 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-02T02:31:23.482Z 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-02T02:31:23.482Z INFO 97 --- [ main] c.e.u.m.b.services.ClientServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-02T02:31:23.560Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T02:31:23.590Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 29 ms. Found 10 JPA repository interfaces.
2025-07-02T02:31:23.606Z INFO 97 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T02:31:23.620Z INFO 97 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:04d59450-3f84-4b31-aaf3-b04e01e9935c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T02:31:23.640Z INFO 97 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T02:31:23.641Z INFO 97 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-02T02:31:23.646Z INFO 97 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T02:31:23.647Z 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-02T02:31:23.816Z 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-02T02:31:23.845Z INFO 97 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T02:31:24.011Z INFO 97 --- [ main] c.e.u.m.b.services.ClientServiceTest : Started ClientServiceTest in 0.562 seconds (process running for 13.255)
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.712 s <<< FAILURE! - in co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest
[ERROR] testUpdateValidClient Time elapsed: 0.012 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.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] testUpdateClientWithNullAddress 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] testUpdateClientWithNullName Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testCreateClientWithNullReviews Time elapsed: 0.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] testCreateClientWithEmptyEmail 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] testCreateClientWithNullEmail 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] testUpdateClientWithNullEmail 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] testUpdateClientWithEmptyEmail Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testDeleteValidClient Time elapsed: 0.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] testCreateClientWithEmptyAddress 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] testGetValidClient 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] testCreateClientWithNullPhoneNumber Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testGetInvalidClient Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testDeleteInvalidClient Time elapsed: 0.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] testCreateClientWithNullName 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] testUpdateInvalidClient 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] testCreateClientWithNullAddress Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testGetClients Time elapsed: 0.002 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.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.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testCreateClientWithEmptyPhoneNumber Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testUpdateClientWithEmptyName Time elapsed: 0.005 s <<< ERROR!
org.hibernate.PropertyValueException: not-null property references a null or transient value : co.edu.udistrital.mdp.beautyathome.entities.ReviewEntity.client
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.insertData(ClientServiceTest.java:55)
at co.edu.udistrital.mdp.beautyathome.services.ClientServiceTest.setUp(ClientServiceTest.java:43)
[ERROR] testUpdateClientWithNullPhoneNumber Time elapsed: 0.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] testUpdateClientWithEmptyAddress 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] testCreateClient 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)
[INFO] Running co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest
2025-07-02T02:31:24.181Z 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-02T02:31:24.187Z 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-02T02:31:24.214Z 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-02T02:31:24.214Z INFO 97 --- [ main] c.e.u.m.b.s.ProfessionalServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-07-02T02:31:24.291Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-07-02T02:31:24.307Z INFO 97 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 10 JPA repository interfaces.
2025-07-02T02:31:24.320Z INFO 97 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-07-02T02:31:24.331Z INFO 97 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:030cc4f6-806c-44e8-b0ce-4d7b0ca8cc62;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-07-02T02:31:24.348Z INFO 97 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-07-02T02:31:24.349Z INFO 97 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-07-02T02:31:24.353Z INFO 97 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-07-02T02:31:24.354Z 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-02T02:31:24.491Z 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-02T02:31:24.517Z INFO 97 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-07-02T02:31:24.649Z INFO 97 --- [ main] c.e.u.m.b.s.ProfessionalServiceTest : Started ProfessionalServiceTest in 0.459 seconds (process running for 13.893)
[ERROR] Tests run: 26, Failures: 0, Errors: 26, Skipped: 0, Time elapsed: 0.515 s <<< FAILURE! - in co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest
[ERROR] testUpdateProfessional Time elapsed: 0.005 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testGetValidProfessional Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessionalWithEmptyName Time elapsed: 0.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.001 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testGetInvalidProfessional Time elapsed: 0.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.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testUpdateInvalidProfessionalWithNullSummary Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testGetProfessionals Time elapsed: 0 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.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] 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.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] 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.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] testCreateProfessionalWithEmptySummary Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessional Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testUpdateInvalidProfessionalWithNullCoverageAreas Time elapsed: 0.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] testCreateProfessionalWithNullPhotoUrl 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] testCreateProfessionalWithNullAgenda Time elapsed: 0.001 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessionalWithNullName Time elapsed: 0.002 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager.getEntityManager()" because "this.entityManager" is null
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.clearData(ProfessionalServiceTest.java:51)
at co.edu.udistrital.mdp.beautyathome.services.ProfessionalServiceTest.setUp(ProfessionalServiceTest.java:47)
[ERROR] testCreateProfessionalWithNullSummary Time elapsed: 0.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)
2025-07-02T02:31:24.746Z 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-02T02:31:24.889Z 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-02T02:31:24.896Z 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-02T02:31:24.901Z 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-02T02:31:24.907Z 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-02T02:31:24.912Z 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: 20.089 s
[INFO] Finished at: 2025-07-02T02:31:25Z
[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