BanksAccountsIntegrationTests

9

tests

0

failures

0

ignored

0.270s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.118s passed
deleteInexistentMaestroShouldReturnKO() 0.013s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.014s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.006s passed
modifyInexistentMaestroShouldReturnKO() 0.013s passed
modifyMaestroShouldReturnOK() 0.030s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.009s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.022s passed
retrieveCreatedMaestroShouldReturnOK() 0.045s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.BanksAccountsIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.BanksAccountsIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.BanksAccountsIntegrationTests]: BanksAccountsIntegrationTests 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.BanksAccountsIntegrationTests
- 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@4f6ff62, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1c62d2ad, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@651caa2e, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@433ae0b0, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@70840a5a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7af9595d, org.springframework.test.context.event.EventPublishingTestExecutionListener@7a34c1f6, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@6e9f8160, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@3e998033, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@e1a150c, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@527d5e48, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@407b41e6, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@3291d9c2]
2026-07-03 16:59:31.293 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.296 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MSwiZXhwIjoyNjQ3MDExNTcxfQ.GCBvYEsWT-gI-1DU4aOFnJuUCQ2sufGoFRFJIF
2026-07-03 16:59:31.308 INFO - BankAccountController.addBankAccount Arg1: class BankAccount {,     accountno: 4343,     adClientId: 1010016,     adComponentobjectuid: null,     adOrgId: 1010053,     bankaccounttype: C,     bban: null,     cBankaccountId: null,     cBankaccountLocationId: null,     cBankId: 1010112,     cc: null,     cCurrencyId: 118,     created: null,     createdby: null,     creditlimit: 0,     currentbalance: 0,     dc: null,     description: 4343,     electronicpaymentsaccount: false,     iban: null,     isactive: null,     ischequesencartera: false,     isdefault: false,     oficina: null,     sucursal: 321,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:31.413 INFO - BankAccountController.addBankAccount: <200 OK OK,1010455,[]>
1010455
2026-07-03 16:59:31.422 INFO - BankAccountController.retrieveBankAccount Arg1: 1010455,  
2026-07-03 16:59:31.456 INFO - BankAccountController.retrieveBankAccount: <200 OK OK,class BankAccount {,     accountno: 4343,     adClientId: 1010016,     adComponentobjectuid: CORE-C_BankAccount-20260703165931343-110282,     adOrgId: 1010053,     bankaccounttype: C,     bban: null,     cBankaccountId: 1010455,     cBankaccountLocationId: null,     cBankId: 1010112,     
2026-07-03 16:59:31.468 INFO - BankAccountController.updateBankAccount Arg1: 1010455, Arg2: class BankAccount {,     accountno: null,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     bankaccounttype: null,     bban: null,     cBankaccountId: null,     cBankaccountLocationId: null,     cBankId: null,     cc: null,     cCurrencyId: null,     created: null,     createdby: null,     creditlimit: null,     currentbalance: null,     dc: null,     description: null,     electronicpaymentsaccount: null,     iban: null,     isactive: null,     ischequesencartera: null,     isdefault: null,     oficina: null,     sucursal: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:31.488 INFO - BankAccountController.updateBankAccount: <200 OK OK,[]>
2026-07-03 16:59:31.497 INFO - BankAccountController.updateBankAccount Arg1: -1, Arg2: class BankAccount {,     accountno: null,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     bankaccounttype: null,     bban: null,     cBankaccountId: null,     cBankaccountLocationId: null,     cBankId: null,     cc: null,     cCurrencyId: null,     created: null,     createdby: null,     creditlimit: null,     currentbalance: null,     dc: null,     description: null,     electronicpaymentsaccount: null,     iban: null,     isactive: null,     ischequesencartera: null,     isdefault: null,     oficina: null,     sucursal: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:31.502 INFO - BankAccountController.updateBankAccount: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:31.509 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.511 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MSwiZXhwIjoyNjQ3MDExNTcxfQ.GCBvYEsWT-gI-1DU4aOFnJuUCQ2sufGoFRFJIF
2026-07-03 16:59:31.533 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:31.534 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:31.548 INFO - BankAccountController.deleteBankAccount Arg1: -1,  
2026-07-03 16:59:31.554 INFO - BankAccountController.deleteBankAccount: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:31.563 INFO - BankAccountController.deleteBankAccount Arg1: 1000025,  
2026-07-03 16:59:31.568 INFO - BankAccountController.deleteBankAccount: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>