DocTypeIntegrationTests

10

tests

0

failures

0

ignored

0.522s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.344s passed
deleteInexistentMaestroShouldReturnKO() 0.010s passed
deleteMaestroShouldReturnOK() 0.065s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.011s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.004s passed
modifyInexistentMaestroShouldReturnKO() 0.010s passed
modifyMaestroShouldReturnOK() 0.029s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.007s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.006s passed
retrieveCreatedMaestroShouldReturnOK() 0.036s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.DocTypeIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.DocTypeIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.DocTypeIntegrationTests]: DocTypeIntegrationTests 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.DocTypeIntegrationTests
- 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@1d1c63af, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@2095c331, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@3909a854, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@7b795db7, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@586486c, org.springframework.test.context.support.DirtiesContextTestExecutionListener@b849fa6, org.springframework.test.context.event.EventPublishingTestExecutionListener@7fbbdd8a, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@4e9ea32f, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@79ec57b8, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@56ba8e8c, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@774c5e5c, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@4cf01c41, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@57bac3f0]
2026-07-03 16:59:33.544 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:33.547 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3MywiZXhwIjoyNjQ3MDExNTczfQ.zQiAt5P-UF7vBsjuWTxq7vzum9WVnRUQbrP8fq
2026-07-03 16:59:33.563 INFO - DocTypeController.addDocType Arg1: class DocType {,     adClientId: 1010016,     adComponentobjectuid: null,     adOrgId: 1010053,     adPrintformatId: 1010968,     adProcessId: null,     allowchangepricelist: null,     allowdeliveryreturned: null,     allowonlyproviders: null,     allowotherbatchpaymentdate: null,     allowproposaldue: null,     applyperception: null,     applyretention: null,     cai: null,     caicontrol: null,     cControladorFiscalId: null,     cDoctypedifferenceId: null,     cDoctypeId: null,     cDoctypeinvoiceId: null,     cDoctypeproformaId: null,     cDoctypeshipmentId: null,     cInvoiceId: null,     created: null,     createdby: null,     cReversedoctypeId: null,     datecai: null,     description: null,     docbasetype: ZZZ,     docnosequenceId: null,     docnosequenceUniqueId: null,     docsubtypecae: null,     docsubtypeinv: SF,     docsubtypeso: null,     doctypekey: ZZZ,     documentcopies: null,     documentnote: null,     dragorderdocumentdiscounts: null,     dragorderdocumentsurcharges: null,     dragorderlinediscounts: null,     dragorderlinesurcharges: null,     dragorderprice: null,     enabledinpos: null,     enableincreatefromshipment: null,     fiscaldocument: null,     fiscalprintingfooterlegends: null,     glCategoryId: 1010104,     hascharges: null,     hasproforma: null,     inoutAllowGreaterQtyordered: null,     isactive: null,     ischeckoutplacerestricted: null,     iscreatecounter: null,     isdefault: null,     isdefaultcounterdoc: null,     isdocnocontrolled: null,     iselectronic: false,     isfiscal: false,     isfiscaldocument: true,     isintransit: null,     ispaymentorderseq: null,     ispickqaconfirm: null,     isprintatcompleting: null,     isprintpreview: null,     isreceiptseq: null,     isshipconfirm: null,     issotrx: false,     issplitwhendifference: null,     iswarehouseclosurecontrol: null,     linescountmax: null,     lockseq: null,     mTrannaturecodeaId: null,     mTrannaturecodebId: null,     name: Prueba,     notinvoiceable: false,     onlyvendorproducts: null,     openCloseByPos: null,     posenabledue: null,     posenableduedays: null,     printername: null,     printname: Prueba,     reservestockmanagment: null,     reusedocumentno: null,     signoIssotrx: null,     skipcurrentaccounts: null,     transactiontypefrontliva: null,     uniquedocumentno: null,     updated: null,     updatedby: null,     useorderwarehouse: null,     validateseqlength: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:33.891 INFO - DocTypeController.addDocType: <200 OK OK,1011003,[]>
1011003
2026-07-03 16:59:33.897 INFO - DocTypeController.retrieveDocType Arg1: 1011003,  
2026-07-03 16:59:33.924 INFO - DocTypeController.retrieveDocType: <200 OK OK,class DocType {,     adClientId: 1010016,     adComponentobjectuid: CORE-C_DocType-20260703165933590-250587,     adOrgId: 1010053,     adPrintformatId: 1010968,     adProcessId: null,     allowchangepricelist: false,     allowdeliveryreturned: true,     allowonlyproviders: false,     allo
2026-07-03 16:59:33.935 INFO - DocTypeController.updateDocType Arg1: 1011003, Arg2: class DocType {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     adPrintformatId: null,     adProcessId: null,     allowchangepricelist: null,     allowdeliveryreturned: null,     allowonlyproviders: null,     allowotherbatchpaymentdate: null,     allowproposaldue: null,     applyperception: null,     applyretention: null,     cai: null,     caicontrol: null,     cControladorFiscalId: null,     cDoctypedifferenceId: null,     cDoctypeId: null,     cDoctypeinvoiceId: null,     cDoctypeproformaId: null,     cDoctypeshipmentId: null,     cInvoiceId: null,     created: null,     createdby: null,     cReversedoctypeId: null,     datecai: null,     description: null,     docbasetype: null,     docnosequenceId: null,     docnosequenceUniqueId: null,     docsubtypecae: null,     docsubtypeinv: null,     docsubtypeso: null,     doctypekey: null,     documentcopies: null,     documentnote: null,     dragorderdocumentdiscounts: null,     dragorderdocumentsurcharges: null,     dragorderlinediscounts: null,     dragorderlinesurcharges: null,     dragorderprice: null,     enabledinpos: null,     enableincreatefromshipment: null,     fiscaldocument: null,     fiscalprintingfooterlegends: null,     glCategoryId: null,     hascharges: null,     hasproforma: null,     inoutAllowGreaterQtyordered: null,     isactive: null,     ischeckoutplacerestricted: null,     iscreatecounter: null,     isdefault: null,     isdefaultcounterdoc: null,     isdocnocontrolled: null,     iselectronic: null,     isfiscal: null,     isfiscaldocument: null,     isintransit: null,     ispaymentorderseq: null,     ispickqaconfirm: null,     isprintatcompleting: null,     isprintpreview: null,     isreceiptseq: null,     isshipconfirm: null,     issotrx: null,     issplitwhendifference: null,     iswarehouseclosurecontrol: null,     linescountmax: null,     lockseq: null,     mTrannaturecodeaId: null,     mTrannaturecodebId: null,     name: null,     notinvoiceable: null,     onlyvendorproducts: null,     openCloseByPos: null,     posenabledue: null,     posenableduedays: null,     printername: null,     printname: null,     reservestockmanagment: null,     reusedocumentno: null,     signoIssotrx: null,     skipcurrentaccounts: null,     transactiontypefrontliva: null,     uniquedocumentno: null,     updated: null,     updatedby: null,     useorderwarehouse: null,     validateseqlength: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:33.957 INFO - DocTypeController.updateDocType: <200 OK OK,[]>
2026-07-03 16:59:33.963 INFO - DocTypeController.updateDocType Arg1: -1, Arg2: class DocType {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     adPrintformatId: null,     adProcessId: null,     allowchangepricelist: null,     allowdeliveryreturned: null,     allowonlyproviders: null,     allowotherbatchpaymentdate: null,     allowproposaldue: null,     applyperception: null,     applyretention: null,     cai: null,     caicontrol: null,     cControladorFiscalId: null,     cDoctypedifferenceId: null,     cDoctypeId: null,     cDoctypeinvoiceId: null,     cDoctypeproformaId: null,     cDoctypeshipmentId: null,     cInvoiceId: null,     created: null,     createdby: null,     cReversedoctypeId: null,     datecai: null,     description: null,     docbasetype: null,     docnosequenceId: null,     docnosequenceUniqueId: null,     docsubtypecae: null,     docsubtypeinv: null,     docsubtypeso: null,     doctypekey: null,     documentcopies: null,     documentnote: null,     dragorderdocumentdiscounts: null,     dragorderdocumentsurcharges: null,     dragorderlinediscounts: null,     dragorderlinesurcharges: null,     dragorderprice: null,     enabledinpos: null,     enableincreatefromshipment: null,     fiscaldocument: null,     fiscalprintingfooterlegends: null,     glCategoryId: null,     hascharges: null,     hasproforma: null,     inoutAllowGreaterQtyordered: null,     isactive: null,     ischeckoutplacerestricted: null,     iscreatecounter: null,     isdefault: null,     isdefaultcounterdoc: null,     isdocnocontrolled: null,     iselectronic: null,     isfiscal: null,     isfiscaldocument: null,     isintransit: null,     ispaymentorderseq: null,     ispickqaconfirm: null,     isprintatcompleting: null,     isprintpreview: null,     isreceiptseq: null,     isshipconfirm: null,     issotrx: null,     issplitwhendifference: null,     iswarehouseclosurecontrol: null,     linescountmax: null,     lockseq: null,     mTrannaturecodeaId: null,     mTrannaturecodebId: null,     name: null,     notinvoiceable: null,     onlyvendorproducts: null,     openCloseByPos: null,     posenabledue: null,     posenableduedays: null,     printername: null,     printname: null,     reservestockmanagment: null,     reusedocumentno: null,     signoIssotrx: null,     skipcurrentaccounts: null,     transactiontypefrontliva: null,     uniquedocumentno: null,     updated: null,     updatedby: null,     useorderwarehouse: null,     validateseqlength: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:33.967 INFO - DocTypeController.updateDocType: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:33.973 INFO - DocTypeController.deleteDocType Arg1: 1011003,  
2026-07-03 16:59:34.032 INFO - DocTypeController.deleteDocType: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:34.038 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:34.041 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk3NCwiZXhwIjoyNjQ3MDExNTc0fQ.iSwHk5m1wJOzINTPIlQpHpYqTzkKMnFnNb9FHD
2026-07-03 16:59:34.045 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:34.046 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:34.057 INFO - DocTypeController.deleteDocType Arg1: -1,  
2026-07-03 16:59:34.061 INFO - DocTypeController.deleteDocType: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:34.068 INFO - DocTypeController.deleteDocType Arg1: 1000310,  
2026-07-03 16:59:34.072 INFO - DocTypeController.deleteDocType: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>