TaxCategoriesIntegrationTests

10

tests

0

failures

0

ignored

0.325s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.161s passed
deleteInexistentMaestroShouldReturnKO() 0.009s passed
deleteMaestroShouldReturnOK() 0.074s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.008s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.003s passed
modifyInexistentMaestroShouldReturnKO() 0.010s passed
modifyMaestroShouldReturnOK() 0.023s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.007s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.005s passed
retrieveCreatedMaestroShouldReturnOK() 0.025s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.TaxCategoriesIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.TaxCategoriesIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.TaxCategoriesIntegrationTests]: TaxCategoriesIntegrationTests 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.TaxCategoriesIntegrationTests
- 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@115a7e51, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@23ea3853, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@6f1163f7, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@e4348c0, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@4ca907af, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3ef396c9, org.springframework.test.context.event.EventPublishingTestExecutionListener@5a99543b, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@4e0802e0, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@4a18e0f1, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@687f62a5, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@7857cb1d, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@7646c9f5, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@7b54a0a4]
2026-07-03 16:59:47.633 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.635 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NywiZXhwIjoyNjQ3MDExNTg3fQ.S325TAVCc_R5zCabnD-4l8YLOmf8dgwA5eGWrv
2026-07-03 16:59:47.642 INFO - TaxCategoryController.addTaxCategory Arg1: class TaxCategory {,     adClientId: 1010016,     adComponentobjectuid: null,     adOrgId: 1010053,     commoditycode: null,     created: null,     createdby: null,     cTaxcategoryId: null,     description: null,     isactive: null,     isdefault: null,     ismanual: null,     name: Categoría de prueba,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:47.795 INFO - TaxCategoryController.addTaxCategory: <200 OK OK,1010474,[]>
1010474
2026-07-03 16:59:47.802 INFO - TaxCategoryController.retrieveTaxCategory Arg1: 1010474,  
2026-07-03 16:59:47.819 INFO - TaxCategoryController.retrieveTaxCategory: <200 OK OK,class TaxCategory {,     adClientId: 1010016,     adComponentobjectuid: CORE-C_TaxCategory-20260703165947670-721708,     adOrgId: 1010053,     commoditycode: null,     created: 2026-07-03 16:59:47.651235,     createdby: 1010717,     cTaxcategoryId: 1010474,     description: null,     isac
2026-07-03 16:59:47.827 INFO - TaxCategoryController.updateTaxCategory Arg1: 1010474, Arg2: class TaxCategory {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     commoditycode: null,     created: null,     createdby: null,     cTaxcategoryId: null,     description: null,     isactive: null,     isdefault: null,     ismanual: null,     name: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:47.844 INFO - TaxCategoryController.updateTaxCategory: <200 OK OK,[]>
2026-07-03 16:59:47.849 INFO - TaxCategoryController.updateTaxCategory Arg1: -1, Arg2: class TaxCategory {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     commoditycode: null,     created: null,     createdby: null,     cTaxcategoryId: null,     description: null,     isactive: null,     isdefault: null,     ismanual: null,     name: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:47.854 INFO - TaxCategoryController.updateTaxCategory: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:47.859 INFO - TaxCategoryController.deleteTaxCategory Arg1: 1010474,  
2026-07-03 16:59:47.928 INFO - TaxCategoryController.deleteTaxCategory: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:47.932 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.935 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4NywiZXhwIjoyNjQ3MDExNTg3fQ.S325TAVCc_R5zCabnD-4l8YLOmf8dgwA5eGWrv
2026-07-03 16:59:47.939 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:47.940 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:47.949 INFO - TaxCategoryController.deleteTaxCategory Arg1: -1,  
2026-07-03 16:59:47.953 INFO - TaxCategoryController.deleteTaxCategory: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:47.958 INFO - TaxCategoryController.deleteTaxCategory Arg1: 1000024,  
2026-07-03 16:59:47.962 INFO - TaxCategoryController.deleteTaxCategory: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>