LetrasComprobanteIntegrationTests

9

tests

0

failures

0

ignored

0.154s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.061s passed
deleteInexistentMaestroShouldReturnKO() 0.011s passed
deleteMaestroShouldReturnOK() 0.015s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.004s passed
modifyInexistentMaestroShouldReturnKO() 0.010s passed
modifyMaestroShouldReturnOK() 0.019s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.007s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.006s passed
retrieveCreatedMaestroShouldReturnOK() 0.021s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.LetrasComprobanteIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.LetrasComprobanteIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.LetrasComprobanteIntegrationTests]: LetrasComprobanteIntegrationTests 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.LetrasComprobanteIntegrationTests
- 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@6f428e6e, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@72e49f6a, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@2e4b5da1, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@312819ae, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@4ae2c01b, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1cab19e2, org.springframework.test.context.event.EventPublishingTestExecutionListener@6879e983, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@196d684b, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@45d38165, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@1f3f434, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@26612078, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@54bc3bcf, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@d3d5094]
2026-07-03 16:59:37.805 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:37.808 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3NywiZXhwIjoyNjQ3MDExNTc3fQ.yO9n4ycVLA1XJmKK-hkKmYQVsYEo9dPM8cXTmr
2026-07-03 16:59:37.814 INFO - LetraComprobanteController.addLetraComprobante Arg1: class LetraComprobante {,     adClientId: 1010016,     adComponentobjectuid: null,     adOrgId: 1010053,     cLetraComprobanteId: null,     created: null,     createdby: null,     description: Prueba,     isactive: null,     isdefault: false,     letra: Z,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:37.867 INFO - LetraComprobanteController.addLetraComprobante: <200 OK OK,1010428,[]>
1010428
2026-07-03 16:59:37.874 INFO - LetraComprobanteController.retrieveLetraComprobante Arg1: 1010428,  
2026-07-03 16:59:37.888 INFO - LetraComprobanteController.retrieveLetraComprobante: <200 OK OK,class LetraComprobante {,     adClientId: 1010016,     adComponentobjectuid: CORE-C_Letra_Comprobante-20260703165937851-395518,     adOrgId: 1010053,     cLetraComprobanteId: 1010428,     created: 2026-07-03 16:59:37.826173,     createdby: 1010717,     description: Prueba,     isactive: t
2026-07-03 16:59:37.896 INFO - LetraComprobanteController.updateLetraComprobante Arg1: 1010428, Arg2: class LetraComprobante {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     cLetraComprobanteId: null,     created: null,     createdby: null,     description: null,     isactive: null,     isdefault: null,     letra: X,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:37.908 INFO - LetraComprobanteController.updateLetraComprobante: <200 OK OK,[]>
2026-07-03 16:59:37.915 INFO - LetraComprobanteController.updateLetraComprobante Arg1: -1, Arg2: class LetraComprobante {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     cLetraComprobanteId: null,     created: null,     createdby: null,     description: null,     isactive: null,     isdefault: null,     letra: X,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:37.918 INFO - LetraComprobanteController.updateLetraComprobante: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:37.925 INFO - LetraComprobanteController.deleteLetraComprobante Arg1: 1010428,  
2026-07-03 16:59:37.934 INFO - LetraComprobanteController.deleteLetraComprobante: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:37.940 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:37.943 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3NywiZXhwIjoyNjQ3MDExNTc3fQ.yO9n4ycVLA1XJmKK-hkKmYQVsYEo9dPM8cXTmr
2026-07-03 16:59:37.948 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:37.949 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:37.959 INFO - LetraComprobanteController.deleteLetraComprobante Arg1: -1,  
2026-07-03 16:59:37.964 INFO - LetraComprobanteController.deleteLetraComprobante: <404 NOT_FOUND Not Found,[]>