ConversionRatesIntegrationTests

11

tests

0

failures

0

ignored

0.258s

duration

100%

successful

Tests

Test Duration Result
createConversionRateWithContainedDateRangeShouldReturnKO() 0.016s passed
createConversionRateWithPartiallyOverlappedDateRangeShouldReturnKO() 0.016s passed
createMaestroShouldReturnOK() 0.095s passed
deleteInexistentMaestroShouldReturnKO() 0.012s passed
deleteMaestroShouldReturnOK() 0.028s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.013s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.007s passed
modifyInexistentMaestroShouldReturnKO() 0.014s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.009s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.006s passed
retrieveCreatedMaestroShouldReturnOK() 0.042s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.ConversionRatesIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.ConversionRatesIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.ConversionRatesIntegrationTests]: ConversionRatesIntegrationTests 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.ConversionRatesIntegrationTests
- 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@268f0ff3, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@11978f52, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@3e0855b0, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@484b5a21, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@16e5344c, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3ba5c4dd, org.springframework.test.context.event.EventPublishingTestExecutionListener@47fca3cc, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@55746340, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@6a0c7af6, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@7f1ad846, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@5d5ae6aa, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@2bc2e022, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@2210e466]
2026-07-03 16:59:32.702 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.704 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MiwiZXhwIjoyNjQ3MDExNTcyfQ.z85JJ6APhzvQxzApByhla6FpDLH5oFnBPuXWN_
2026-07-03 16:59:32.717 INFO - ConversionRateController.addConversionRate Arg1: class ConversionRate {,     adClientId: 1010016,     adOrgId: 1010053,     cConversionRateId: null,     cConversiontypeId: 114,     cCurrencyId: 100,     cCurrencyIdTo: 118,     created: null,     createdby: null,     dividerate: 0.0011494253,     isactive: null,     multiplyrate: 870.5,     updated: null,     updatedby: null,     validfrom: 2025-01-01 00:00:00,     validto: 2025-12-31 23:59:59,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:32.798 INFO - ConversionRateController.addConversionRate: <200 OK OK,1019655,[]>
1019655
2026-07-03 16:59:32.807 INFO - ConversionRateController.addConversionRate Arg1: class ConversionRate {,     adClientId: 1010016,     adOrgId: 1010053,     cConversionRateId: null,     cConversiontypeId: 114,     cCurrencyId: 100,     cCurrencyIdTo: 118,     created: null,     createdby: null,     dividerate: 0.0011111111,     isactive: null,     multiplyrate: 900.0,     updated: null,     updatedby: null,     validfrom: 2025-06-01 00:00:00,     validto: 2026-01-31 23:59:59,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:32.814 INFO - ConversionRateController.addConversionRate: <409 CONFLICT Conflict,Error: : Ya existe una conversion para estas monedas,[]>
2026-07-03 16:59:32.823 INFO - ConversionRateController.addConversionRate Arg1: class ConversionRate {,     adClientId: 1010016,     adOrgId: 1010053,     cConversionRateId: null,     cConversiontypeId: 114,     cCurrencyId: 100,     cCurrencyIdTo: 118,     created: null,     createdby: null,     dividerate: 0.0010989011,     isactive: null,     multiplyrate: 910.0,     updated: null,     updatedby: null,     validfrom: 2025-03-01 00:00:00,     validto: 2025-03-31 23:59:59,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:32.830 INFO - ConversionRateController.addConversionRate: <409 CONFLICT Conflict,Error: : Ya existe una conversion para estas monedas,[]>
2026-07-03 16:59:32.837 INFO - ConversionRateController.retrieveConversionRate Arg1: 1019655,  
2026-07-03 16:59:32.870 INFO - ConversionRateController.retrieveConversionRate: <200 OK OK,class ConversionRate {,     adClientId: 1010016,     adOrgId: 1010053,     cConversionRateId: 1019655,     cConversiontypeId: 114,     cCurrencyId: 100,     cCurrencyIdTo: 118,     created: 2026-07-03 16:59:32.730014,     createdby: 1010717,     dividerate: 0.001149425300000,     isactive
2026-07-03 16:59:32.880 INFO - ConversionRateController.updateConversionRate Arg1: -1, Arg2: class ConversionRate {,     adClientId: null,     adOrgId: null,     cConversionRateId: null,     cConversiontypeId: null,     cCurrencyId: null,     cCurrencyIdTo: null,     created: null,     createdby: null,     dividerate: null,     isactive: null,     multiplyrate: 770.50,     updated: null,     updatedby: null,     validfrom: null,     validto: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:32.886 INFO - ConversionRateController.updateConversionRate: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:32.893 INFO - ConversionRateController.deleteConversionRate Arg1: 1019655,  
2026-07-03 16:59:32.915 INFO - ConversionRateController.deleteConversionRate: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:32.920 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.923 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MiwiZXhwIjoyNjQ3MDExNTcyfQ.z85JJ6APhzvQxzApByhla6FpDLH5oFnBPuXWN_
2026-07-03 16:59:32.929 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.930 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:32.944 INFO - ConversionRateController.deleteConversionRate Arg1: -1,  
2026-07-03 16:59:32.949 INFO - ConversionRateController.deleteConversionRate: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:32.957 INFO - ConversionRateController.deleteConversionRate Arg1: 999999,  
2026-07-03 16:59:32.961 INFO - ConversionRateController.deleteConversionRate: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>