PaymentTermsIntegrationTests

10

tests

0

failures

0

ignored

0.742s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.605s passed
deleteInexistentMaestroShouldReturnKO() 0.008s passed
deleteMaestroShouldReturnOK() 0.059s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.008s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.003s passed
modifyInexistentMaestroShouldReturnKO() 0.008s passed
modifyMaestroShouldReturnOK() 0.020s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.006s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.005s passed
retrieveCreatedMaestroShouldReturnOK() 0.020s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.PaymentTermsIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.PaymentTermsIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.PaymentTermsIntegrationTests]: PaymentTermsIntegrationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
- Found @SpringBootConfiguration org.libertya.api.LYRestAPI for test class org.libertya.api.PaymentTermsIntegrationTests
- Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener]
- Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@535a6697, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@641bc9a8, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@1d40f597, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@20960b51, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@2078bf0a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1a947424, org.springframework.test.context.event.EventPublishingTestExecutionListener@62d6ac, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@103e9972, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@75dbe490, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@4c579b5b, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@5a96f3cb, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@3e0704e2, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@14d298d6]
2026-07-03 16:59:44.688 INFO - SecurityController.keygen Arg1: {}, Arg2: {accept=text/plain, application/json, application/*+json, */*, username=AdminLibertya, password=AdminLibertya, clientid=1010016, orgid=1010053, content-length=0, host=localhost:46480, connection=Keep-Alive, user-agent=Apache-HttpClient/4.5.2 (Java/1.8.0_121), accept-encoding=gzip,deflate},  
2026-07-03 16:59:44.691 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NCwiZXhwIjoyNjQ3MDExNTg0fQ.1ouyAFYyR8Q-y0Lfbuv8yLmeV1wmhBtk6lqGVh
2026-07-03 16:59:44.699 INFO - PaymentTermController.addPaymentTerm Arg1: class PaymentTerm {,     adClientId: 1010016,     adComponentobjectuid: null,     adOrgId: 1010053,     afterdelivery: false,     applicationcontext: B,     applicationdate: I,     cPaymenttermId: null,     cPospaymentmediumId: null,     created: null,     createdby: null,     description: ,     discount: 0,     discount2: 0,     discountapplicationtype: null,     discountapplicationtype2: null,     discountdays: 0,     discountdays2: 0,     documentnote: ,     fixmonthcutoff: 0,     fixmonthday: 0,     fixmonthday2: null,     fixmonthoffset: 0,     gracedays: 0,     gracedays2: 0,     isactive: null,     isdefault: false,     isduefixed: false,     isnextbusinessday: false,     isvalid: true,     name: Prueba,     netday: null,     netdays: 0,     processing: N,     updated: null,     updatedby: null,     value: 30,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:45.294 INFO - PaymentTermController.addPaymentTerm: <200 OK OK,1010507,[]>
1010507
2026-07-03 16:59:45.299 INFO - PaymentTermController.retrievePaymentTerm Arg1: 1010507,  
2026-07-03 16:59:45.313 INFO - PaymentTermController.retrievePaymentTerm: <200 OK OK,class PaymentTerm {,     adClientId: 1010016,     adComponentobjectuid: CORE-C_PaymentTerm-20260703165944727-692697,     adOrgId: 1010053,     afterdelivery: false,     applicationcontext: B,     applicationdate: I,     cPaymenttermId: 1010507,     cPospaymentmediumId: null,     created: 
2026-07-03 16:59:45.321 INFO - PaymentTermController.updatePaymentTerm Arg1: 1010507, Arg2: class PaymentTerm {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     afterdelivery: null,     applicationcontext: null,     applicationdate: null,     cPaymenttermId: null,     cPospaymentmediumId: null,     created: null,     createdby: null,     description: null,     discount: null,     discount2: null,     discountapplicationtype: null,     discountapplicationtype2: null,     discountdays: null,     discountdays2: null,     documentnote: null,     fixmonthcutoff: null,     fixmonthday: null,     fixmonthday2: null,     fixmonthoffset: null,     gracedays: null,     gracedays2: null,     isactive: null,     isdefault: null,     isduefixed: null,     isnextbusinessday: null,     isvalid: null,     name: null,     netday: null,     netdays: null,     processing: null,     updated: null,     updatedby: null,     value: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:45.334 INFO - PaymentTermController.updatePaymentTerm: <200 OK OK,[]>
2026-07-03 16:59:45.340 INFO - PaymentTermController.updatePaymentTerm Arg1: -1, Arg2: class PaymentTerm {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     afterdelivery: null,     applicationcontext: null,     applicationdate: null,     cPaymenttermId: null,     cPospaymentmediumId: null,     created: null,     createdby: null,     description: null,     discount: null,     discount2: null,     discountapplicationtype: null,     discountapplicationtype2: null,     discountdays: null,     discountdays2: null,     documentnote: null,     fixmonthcutoff: null,     fixmonthday: null,     fixmonthday2: null,     fixmonthoffset: null,     gracedays: null,     gracedays2: null,     isactive: null,     isdefault: null,     isduefixed: null,     isnextbusinessday: null,     isvalid: null,     name: null,     netday: null,     netdays: null,     processing: null,     updated: null,     updatedby: null,     value: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:45.343 INFO - PaymentTermController.updatePaymentTerm: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:45.349 INFO - PaymentTermController.deletePaymentTerm Arg1: 1010507,  
2026-07-03 16:59:45.402 INFO - PaymentTermController.deletePaymentTerm: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:45.406 INFO - SecurityController.keygen Arg1: {}, Arg2: {accept=text/plain, application/json, application/*+json, */*, username=AdminLibertya, password=AdminLibertya, clientid=1010016, orgid=1010053, content-length=0, host=localhost:46480, connection=Keep-Alive, user-agent=Apache-HttpClient/4.5.2 (Java/1.8.0_121), accept-encoding=gzip,deflate},  
2026-07-03 16:59:45.408 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NSwiZXhwIjoyNjQ3MDExNTg1fQ.7tuCsB8U2hnZ06bw1Fju1o8RNU1M0fHwuEr5R1
2026-07-03 16:59:45.412 INFO - SecurityController.keygen Arg1: {}, Arg2: {accept=text/plain, application/json, application/*+json, */*, username=AdminLibertya, content-length=0, host=localhost:46480, connection=Keep-Alive, user-agent=Apache-HttpClient/4.5.2 (Java/1.8.0_121), accept-encoding=gzip,deflate},  
2026-07-03 16:59:45.413 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:45.422 INFO - PaymentTermController.deletePaymentTerm Arg1: -1,  
2026-07-03 16:59:45.425 INFO - PaymentTermController.deletePaymentTerm: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:45.430 INFO - PaymentTermController.deletePaymentTerm Arg1: 1000054,  
2026-07-03 16:59:45.433 INFO - PaymentTermController.deletePaymentTerm: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>