CashBooksIntegrationTests

10

tests

0

failures

0

ignored

0.253s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.101s passed
deleteInexistentMaestroShouldReturnKO() 0.011s passed
deleteMaestroShouldReturnOK() 0.035s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.012s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.005s passed
modifyInexistentMaestroShouldReturnKO() 0.014s passed
modifyMaestroShouldReturnOK() 0.022s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.008s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.010s passed
retrieveCreatedMaestroShouldReturnOK() 0.035s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.CashBooksIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.CashBooksIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.CashBooksIntegrationTests]: CashBooksIntegrationTests 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.CashBooksIntegrationTests
- 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@497921d0, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@40d10264, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@6edd4fe2, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@53918b5e, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@5366575d, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1b6cad77, org.springframework.test.context.event.EventPublishingTestExecutionListener@1fca53a7, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@40dee07b, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@21e39b82, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@5f9a8ddc, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@1280bae3, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@256a5df0, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@1868ed54]
2026-07-03 16:59:31.811 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:31.814 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MSwiZXhwIjoyNjQ3MDExNTcxfQ.GCBvYEsWT-gI-1DU4aOFnJuUCQ2sufGoFRFJIF
2026-07-03 16:59:31.824 INFO - CashBookController.addCashBook Arg1: class CashBook {,     adClientId: 1010016,     adOrgId: 1010053,     cashbooktype: G,     cCashbookId: null,     cCurrencyId: 118,     created: null,     createdby: null,     description: ,     isactive: null,     isdefault: false,     name: Prueba,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:31.913 INFO - CashBookController.addCashBook: <200 OK OK,1010446,[]>
1010446
2026-07-03 16:59:31.922 INFO - CashBookController.retrieveCashBook Arg1: 1010446,  
2026-07-03 16:59:31.947 INFO - CashBookController.retrieveCashBook: <200 OK OK,class CashBook {,     adClientId: 1010016,     adOrgId: 1010053,     cashbooktype: G,     cCashbookId: 1010446,     cCurrencyId: 118,     created: 2026-07-03 16:59:31.839169,     createdby: 1010717,     description: ,     isactive: true,     isdefault: false,     name: Prueba,     updated
2026-07-03 16:59:31.958 INFO - CashBookController.updateCashBook Arg1: 1010446, Arg2: class CashBook {,     adClientId: null,     adOrgId: null,     cashbooktype: null,     cCashbookId: null,     cCurrencyId: null,     created: null,     createdby: null,     description: null,     isactive: null,     isdefault: null,     name: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:31.972 INFO - CashBookController.updateCashBook: <200 OK OK,[]>
2026-07-03 16:59:31.981 INFO - CashBookController.updateCashBook Arg1: -1, Arg2: class CashBook {,     adClientId: null,     adOrgId: null,     cashbooktype: null,     cCashbookId: null,     cCurrencyId: null,     created: null,     createdby: null,     description: null,     isactive: null,     isdefault: null,     name: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:31.986 INFO - CashBookController.updateCashBook: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:31.994 INFO - CashBookController.deleteCashBook Arg1: 1010446,  
2026-07-03 16:59:32.023 INFO - CashBookController.deleteCashBook: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:32.028 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:32.031 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MiwiZXhwIjoyNjQ3MDExNTcyfQ.z85JJ6APhzvQxzApByhla6FpDLH5oFnBPuXWN_
2026-07-03 16:59:32.038 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:32.040 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:32.054 INFO - CashBookController.deleteCashBook Arg1: -1,  
2026-07-03 16:59:32.058 INFO - CashBookController.deleteCashBook: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:32.066 INFO - CashBookController.deleteCashBook Arg1: 1000010,  
2026-07-03 16:59:32.071 INFO - CashBookController.deleteCashBook: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>