PriceListVersionsIntegrationTests

10

tests

0

failures

0

ignored

0.180s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.067s passed
deleteInexistentMaestroShouldReturnKO() 0.009s passed
deleteMaestroShouldReturnOK() 0.017s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.008s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.004s passed
modifyInexistentMaestroShouldReturnKO() 0.008s passed
modifyMaestroShouldReturnOK() 0.022s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.006s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.005s passed
retrieveCreatedMaestroShouldReturnOK() 0.034s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.PriceListVersionsIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.PriceListVersionsIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.PriceListVersionsIntegrationTests]: PriceListVersionsIntegrationTests 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.PriceListVersionsIntegrationTests
- 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@26d445e9, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6e7f29d5, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@27048db3, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@7f94541b, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@7bebad0d, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6c4d0224, org.springframework.test.context.event.EventPublishingTestExecutionListener@6f27730b, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@32cec678, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@14eb96e9, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@10b3ea72, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@44587c44, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@618fb1, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@48751d8a]
2026-07-03 16:59:45.442 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:45.444 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NSwiZXhwIjoyNjQ3MDExNTg1fQ.7tuCsB8U2hnZ06bw1Fju1o8RNU1M0fHwuEr5R1
2026-07-03 16:59:45.451 INFO - PriceListVersionController.addPriceListVersion Arg1: class PriceListVersion {,     adClientId: 1010016,     adComponentobjectuid: null,     adComponentversionId: null,     adOrgId: 1010053,     created: null,     createdby: null,     description: null,     isactive: null,     mDiscountschemaId: 1010101,     mPricelistId: 1010595,     mPricelistVersionBaseId: null,     mPricelistVersionId: null,     name: Prueba,     proccreate: N,     updated: null,     updatedby: null,     validfrom: 2025-04-01 10:00:00,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:45.510 INFO - PriceListVersionController.addPriceListVersion: <200 OK OK,1010943,[]>
1010943
2026-07-03 16:59:45.516 INFO - PriceListVersionController.retrievePriceListVersion Arg1: 1010943,  
2026-07-03 16:59:45.545 INFO - PriceListVersionController.retrievePriceListVersion: <200 OK OK,class PriceListVersion {,     adClientId: 1010016,     adComponentobjectuid: CORE-M_PriceList_Version-20260703165945477-643441,     adComponentversionId: 1010409,     adOrgId: 1010053,     created: 2026-07-03 16:59:45.462066,     createdby: 1010717,     description: null,     isactive: tr
2026-07-03 16:59:45.551 INFO - PriceListVersionController.updatePriceListVersion Arg1: 1010943, Arg2: class PriceListVersion {,     adClientId: null,     adComponentobjectuid: null,     adComponentversionId: null,     adOrgId: null,     created: null,     createdby: null,     description: null,     isactive: null,     mDiscountschemaId: null,     mPricelistId: null,     mPricelistVersionBaseId: null,     mPricelistVersionId: null,     name: null,     proccreate: null,     updated: null,     updatedby: null,     validfrom: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:45.568 INFO - PriceListVersionController.updatePriceListVersion: <200 OK OK,[]>
2026-07-03 16:59:45.573 INFO - PriceListVersionController.updatePriceListVersion Arg1: -1, Arg2: class PriceListVersion {,     adClientId: null,     adComponentobjectuid: null,     adComponentversionId: null,     adOrgId: null,     created: null,     createdby: null,     description: null,     isactive: null,     mDiscountschemaId: null,     mPricelistId: null,     mPricelistVersionBaseId: null,     mPricelistVersionId: null,     name: null,     proccreate: null,     updated: null,     updatedby: null,     validfrom: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:45.576 INFO - PriceListVersionController.updatePriceListVersion: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:45.581 INFO - PriceListVersionController.deletePriceListVersion Arg1: 1010943,  
2026-07-03 16:59:45.594 INFO - PriceListVersionController.deletePriceListVersion: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:45.598 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:45.600 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NSwiZXhwIjoyNjQ3MDExNTg1fQ.7tuCsB8U2hnZ06bw1Fju1o8RNU1M0fHwuEr5R1
2026-07-03 16:59:45.605 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:45.606 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:45.615 INFO - PriceListVersionController.deletePriceListVersion Arg1: -1,  
2026-07-03 16:59:45.619 INFO - PriceListVersionController.deletePriceListVersion: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:45.624 INFO - PriceListVersionController.deletePriceListVersion Arg1: 1000512,  
2026-07-03 16:59:45.628 INFO - PriceListVersionController.deletePriceListVersion: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>