TaxIntegrationTests

10

tests

0

failures

0

ignored

0.352s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.188s passed
deleteInexistentMaestroShouldReturnKO() 0.008s passed
deleteMaestroShouldReturnOK() 0.052s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.008s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.004s passed
modifyInexistentMaestroShouldReturnKO() 0.022s passed
modifyMaestroShouldReturnOK() 0.022s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.007s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.005s passed
retrieveCreatedMaestroShouldReturnOK() 0.036s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.TaxIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.TaxIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.TaxIntegrationTests]: TaxIntegrationTests 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.TaxIntegrationTests
- 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@34f24a11, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3f6d36eb, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@3f5ac587, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@1fa58a48, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@3921e96f, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6fad5ace, org.springframework.test.context.event.EventPublishingTestExecutionListener@632dc41, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@35f6f105, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@3aa1c45, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@6d45dd4, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@1614499b, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@1468fc85, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@47f39279]
2026-07-03 16:59:47.971 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:47.974 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NywiZXhwIjoyNjQ3MDExNTg3fQ.S325TAVCc_R5zCabnD-4l8YLOmf8dgwA5eGWrv
2026-07-03 16:59:47.983 INFO - TaxController.addTax Arg1: class Tax {,     adClientId: 1010016,     adComponentobjectuid: null,     adOrgId: 1010053,     arcibanormcode: null,     cBpGroupId: null,     cCountryId: 119,     codigooperacion: null,     created: null,     createdby: null,     cRegionId: null,     cTaxcategoryId: 1010328,     cTaxId: null,     description: null,     isactive: null,     isdefault: null,     isdocumentlevel: null,     ispercepcion: null,     issummary: null,     istaxexempt: null,     mProductCategoryId: null,     mProductId: null,     name: Tax de prueba,     parentTaxId: null,     perceptiontype: I,     rate: 0,     requirestaxcertificate: null,     sopotype: B,     taxaccusation: null,     taxareatype: N,     taxindicator: null,     taxtype: G,     toCountryId: null,     toRegionId: null,     updated: null,     updatedby: null,     validfrom: null,     wsfecode: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:48.160 INFO - TaxController.addTax: <200 OK OK,1010513,[]>
1010513
2026-07-03 16:59:48.167 INFO - TaxController.retrieveTax Arg1: 1010513,  
2026-07-03 16:59:48.195 INFO - TaxController.retrieveTax: <200 OK OK,class Tax {,     adClientId: 1010016,     adComponentobjectuid: CORE-C_Tax-20260703165948003-045143,     adOrgId: 1010053,     arcibanormcode: null,     cBpGroupId: null,     cCountryId: 119,     codigooperacion: null,     created: 2026-07-03 16:59:47.993422,     createdby: 1010717,     c
2026-07-03 16:59:48.203 INFO - TaxController.updateTax Arg1: 1010513, Arg2: class Tax {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     arcibanormcode: null,     cBpGroupId: null,     cCountryId: null,     codigooperacion: null,     created: null,     createdby: null,     cRegionId: null,     cTaxcategoryId: null,     cTaxId: null,     description: null,     isactive: null,     isdefault: null,     isdocumentlevel: null,     ispercepcion: null,     issummary: null,     istaxexempt: null,     mProductCategoryId: null,     mProductId: null,     name: null,     parentTaxId: null,     perceptiontype: null,     rate: null,     requirestaxcertificate: null,     sopotype: null,     taxaccusation: null,     taxareatype: null,     taxindicator: null,     taxtype: null,     toCountryId: null,     toRegionId: null,     updated: null,     updatedby: null,     validfrom: null,     wsfecode: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:48.219 INFO - TaxController.updateTax: <200 OK OK,[]>
2026-07-03 16:59:48.237 INFO - TaxController.updateTax Arg1: -1, Arg2: class Tax {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     arcibanormcode: null,     cBpGroupId: null,     cCountryId: null,     codigooperacion: null,     created: null,     createdby: null,     cRegionId: null,     cTaxcategoryId: null,     cTaxId: null,     description: null,     isactive: null,     isdefault: null,     isdocumentlevel: null,     ispercepcion: null,     issummary: null,     istaxexempt: null,     mProductCategoryId: null,     mProductId: null,     name: null,     parentTaxId: null,     perceptiontype: null,     rate: null,     requirestaxcertificate: null,     sopotype: null,     taxaccusation: null,     taxareatype: null,     taxindicator: null,     taxtype: null,     toCountryId: null,     toRegionId: null,     updated: null,     updatedby: null,     validfrom: null,     wsfecode: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:48.241 INFO - TaxController.updateTax: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:48.248 INFO - TaxController.deleteTax Arg1: 1010513,  
2026-07-03 16:59:48.295 INFO - TaxController.deleteTax: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:48.299 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:48.302 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4OCwiZXhwIjoyNjQ3MDExNTg4fQ.YTcgAD5325XWq3Y54z6IkzzrOqFaSLtE3x9cPl
2026-07-03 16:59:48.306 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:48.307 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:48.315 INFO - TaxController.deleteTax Arg1: -1,  
2026-07-03 16:59:48.319 INFO - TaxController.deleteTax: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:48.323 INFO - TaxController.deleteTax Arg1: 1000056,  
2026-07-03 16:59:48.327 INFO - TaxController.deleteTax: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>