POSPaymentMediumIntegrationTests

9

tests

0

failures

0

ignored

0.194s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.062s passed
deleteInexistentMaestroShouldReturnKO() 0.009s passed
deleteMaestroShouldReturnOK() 0.042s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.005s passed
modifyInexistentMaestroShouldReturnKO() 0.008s passed
modifyMaestroShouldReturnOK() 0.018s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.007s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.005s passed
retrieveCreatedMaestroShouldReturnOK() 0.038s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.POSPaymentMediumIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.POSPaymentMediumIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.POSPaymentMediumIntegrationTests]: POSPaymentMediumIntegrationTests 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.POSPaymentMediumIntegrationTests
- 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@129c322f, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1bbef3c7, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@35995029, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@42474b18, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@31b91435, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5d75f90e, org.springframework.test.context.event.EventPublishingTestExecutionListener@2212e291, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@5af56240, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@2314cd97, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@51dbed72, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@64e89bb2, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@15fe020d, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@10830d50]
2026-07-03 16:59:43.448 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:43.450 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4MywiZXhwIjoyNjQ3MDExNTgzfQ.MbuWL8MQgMtIROQRYPrGgDnuhvjth9FaWD6T2G
2026-07-03 16:59:43.457 INFO - POSPaymentMediumController.addPOSPaymentMedium Arg1: class POSPaymentMedium {,     adClientId: 1010016,     adComponentobjectuid: null,     adComponentversionId: null,     adOrgId: 1010053,     bank: 1010256,     beforecheckdeadlinefrom: null,     beforecheckdeadlineto: null,     cBankId: 1010256,     cCurrencyId: 118,     checkdeadline: null,     context: R,     cPospaymentmediumId: null,     created: null,     createdby: null,     datefrom: 2025-05-19 10:00:00,     dateto: 2025-05-20 10:00:00,     description: ,     isactive: null,     ismandatorybank: false,     isnormalizedbank: false,     mDiscountschemaId: 1010101,     mEntidadfinancieraId: 1012145,     name: Prueba,     tendertype: AC,     updated: null,     updatedby: null,     validatebeforecheckdeadlines: false,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:43.510 INFO - POSPaymentMediumController.addPOSPaymentMedium: <200 OK OK,1010419,[]>
1010419
2026-07-03 16:59:43.517 INFO - POSPaymentMediumController.retrievePOSPaymentMedium Arg1: 1010419,  
2026-07-03 16:59:43.548 INFO - POSPaymentMediumController.retrievePOSPaymentMedium: <200 OK OK,class POSPaymentMedium {,     adClientId: 1010016,     adComponentobjectuid: CORE-C_POSPaymentMedium-20260703165943476-477686,     adComponentversionId: 1010409,     adOrgId: 1010053,     bank: null,     beforecheckdeadlinefrom: null,     beforecheckdeadlineto: null,     cBankId: 1010256,
2026-07-03 16:59:43.555 INFO - POSPaymentMediumController.updatePOSPaymentMedium Arg1: 1010419, Arg2: class POSPaymentMedium {,     adClientId: null,     adComponentobjectuid: null,     adComponentversionId: null,     adOrgId: null,     bank: null,     beforecheckdeadlinefrom: null,     beforecheckdeadlineto: null,     cBankId: null,     cCurrencyId: null,     checkdeadline: null,     context: null,     cPospaymentmediumId: null,     created: null,     createdby: null,     datefrom: null,     dateto: null,     description: null,     isactive: null,     ismandatorybank: null,     isnormalizedbank: null,     mDiscountschemaId: null,     mEntidadfinancieraId: null,     name: null,     tendertype: null,     updated: null,     updatedby: null,     validatebeforecheckdeadlines: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:43.568 INFO - POSPaymentMediumController.updatePOSPaymentMedium: <200 OK OK,[]>
2026-07-03 16:59:43.573 INFO - POSPaymentMediumController.updatePOSPaymentMedium Arg1: -1, Arg2: class POSPaymentMedium {,     adClientId: null,     adComponentobjectuid: null,     adComponentversionId: null,     adOrgId: null,     bank: null,     beforecheckdeadlinefrom: null,     beforecheckdeadlineto: null,     cBankId: null,     cCurrencyId: null,     checkdeadline: null,     context: null,     cPospaymentmediumId: null,     created: null,     createdby: null,     datefrom: null,     dateto: null,     description: null,     isactive: null,     ismandatorybank: null,     isnormalizedbank: null,     mDiscountschemaId: null,     mEntidadfinancieraId: null,     name: null,     tendertype: null,     updated: null,     updatedby: null,     validatebeforecheckdeadlines: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:43.576 INFO - POSPaymentMediumController.updatePOSPaymentMedium: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:43.581 INFO - POSPaymentMediumController.deletePOSPaymentMedium Arg1: 1010419,  
2026-07-03 16:59:43.618 INFO - POSPaymentMediumController.deletePOSPaymentMedium: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:43.622 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:43.625 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4MywiZXhwIjoyNjQ3MDExNTgzfQ.MbuWL8MQgMtIROQRYPrGgDnuhvjth9FaWD6T2G
2026-07-03 16:59:43.629 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:43.630 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:43.640 INFO - POSPaymentMediumController.deletePOSPaymentMedium Arg1: -1,  
2026-07-03 16:59:43.643 INFO - POSPaymentMediumController.deletePOSPaymentMedium: <404 NOT_FOUND Not Found,[]>