CashLineIntegrationTests

8

tests

0

failures

0

ignored

0.250s

duration

100%

successful

Tests

Test Duration Result
createCashLineShouldReturnOK() 0.146s passed
deleteCashLineWithWrongTokenShouldReturnKO() 0.005s passed
deleteInexistentCashLineShouldReturnKO() 0.011s passed
modifyCashLineShouldReturnOK() 0.025s passed
modifyInexistentCashLineShouldReturnKO() 0.011s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.008s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.006s passed
retrieveCreatedCashLineShouldReturnOK() 0.038s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.CashLineIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.CashLineIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.CashLineIntegrationTests]: CashLineIntegrationTests 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.CashLineIntegrationTests
- 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@2cd5b19c, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7109b603, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@76b642aa, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@29b5e7db, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@286dfa20, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1468e880, org.springframework.test.context.event.EventPublishingTestExecutionListener@508f4bb5, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@5602e540, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@11f9b95a, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@42066f0d, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@687e561b, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@299786b1, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@75f8d9b0]
2026-07-03 16:59:32.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:32.408 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MiwiZXhwIjoyNjQ3MDExNTcyfQ.z85JJ6APhzvQxzApByhla6FpDLH5oFnBPuXWN_
2026-07-03 16:59:32.438 INFO - CashLineController.addCashLine Arg1: class CashLine {,     accountingCChargeId: null,     adClientId: 1010016,     adOrgId: 1010053,     amount: 1000,     authcode: null,     authmatch: null,     automaticgenerated: null,     cAllocationhdrId: null,     cashamount: null,     cashtype: E,     cBankaccountId: null,     cBpartnerId: null,     cCashcurrencyId: null,     cCashId: 1000018,     cCashlineId: null,     cChargeId: null,     cCurrencyId: 102,     cInvoiceId: null,     cPaymentId: null,     cPosjournalId: null,     cPospaymentmediumId: null,     cProjectId: null,     created: null,     createdby: null,     description: null,     discountamt: null,     docaction: null,     docstatus: null,     isactive: null,     isallocated: null,     isgenerated: null,     line: 20,     processed: null,     processing: null,     transfercashId: null,     transfercashlineId: null,     updatebpbalance: null,     updated: null,     updatedby: null,     whiteoffamt: null,     writeoffamt: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:32.557 INFO - CashLineController.addCashLine: <200 OK OK,1010482,[]>
1010482
2026-07-03 16:59:32.564 INFO - CashLineController.retrieveCashLine Arg1: 1010482,  
2026-07-03 16:59:32.594 INFO - CashLineController.retrieveCashLine: <200 OK OK,class CashLine {,     accountingCChargeId: null,     adClientId: 1010016,     adOrgId: 1010053,     amount: 1000.00,     authcode: null,     authmatch: true,     automaticgenerated: false,     cAllocationhdrId: null,     cashamount: 0.00,     cashtype: E,     cBankaccountId: null,     cBp
2026-07-03 16:59:32.603 INFO - CashLineController.updateCashLine Arg1: 1010482, Arg2: class CashLine {,     accountingCChargeId: null,     adClientId: null,     adOrgId: null,     amount: null,     authcode: null,     authmatch: null,     automaticgenerated: null,     cAllocationhdrId: null,     cashamount: null,     cashtype: null,     cBankaccountId: null,     cBpartnerId: null,     cCashcurrencyId: null,     cCashId: null,     cCashlineId: null,     cChargeId: null,     cCurrencyId: null,     cInvoiceId: null,     cPaymentId: null,     cPosjournalId: null,     cPospaymentmediumId: null,     cProjectId: null,     created: null,     createdby: null,     description: null,     discountamt: null,     docaction: null,     docstatus: null,     isactive: null,     isallocated: null,     isgenerated: null,     line: null,     processed: null,     processing: null,     transfercashId: null,     transfercashlineId: null,     updatebpbalance: null,     updated: null,     updatedby: null,     whiteoffamt: null,     writeoffamt: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:32.622 INFO - CashLineController.updateCashLine: <200 OK OK,[]>
2026-07-03 16:59:32.629 INFO - CashLineController.updateCashLine Arg1: -1, Arg2: class CashLine {,     accountingCChargeId: null,     adClientId: null,     adOrgId: null,     amount: null,     authcode: null,     authmatch: null,     automaticgenerated: null,     cAllocationhdrId: null,     cashamount: null,     cashtype: null,     cBankaccountId: null,     cBpartnerId: null,     cCashcurrencyId: null,     cCashId: null,     cCashlineId: null,     cChargeId: null,     cCurrencyId: null,     cInvoiceId: null,     cPaymentId: null,     cPosjournalId: null,     cPospaymentmediumId: null,     cProjectId: null,     created: null,     createdby: null,     description: null,     discountamt: null,     docaction: null,     docstatus: null,     isactive: null,     isallocated: null,     isgenerated: null,     line: null,     processed: null,     processing: null,     transfercashId: null,     transfercashlineId: null,     updatebpbalance: null,     updated: null,     updatedby: null,     whiteoffamt: null,     writeoffamt: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:32.634 INFO - CashLineController.updateCashLine: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:32.639 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.642 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MiwiZXhwIjoyNjQ3MDExNTcyfQ.z85JJ6APhzvQxzApByhla6FpDLH5oFnBPuXWN_
2026-07-03 16:59:32.647 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.648 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:32.660 INFO - CashLineController.deleteCashLine Arg1: -1,  
2026-07-03 16:59:32.664 INFO - CashLineController.deleteCashLine: <404 NOT_FOUND Not Found,[]>