PaySchedulesIntegrationTests

10

tests

0

failures

0

ignored

0.219s

duration

100%

successful

Tests

Test Duration Result
createMaestroShouldReturnOK() 0.072s passed
deleteInexistentMaestroShouldReturnKO() 0.010s passed
deleteMaestroShouldReturnOK() 0.041s passed
deleteMaestroWithCompanyMismatchShouldReturnKO() 0.009s passed
deleteMaestroWithWrongTokenShouldReturnKO() 0.005s passed
modifyInexistentMaestroShouldReturnKO() 0.009s passed
modifyMaestroShouldReturnOK() 0.030s passed
newTokenWithCorrectCredentialsShouldReturnOK() 0.008s passed
newTokenWithIncorrectCredentialsShouldReturnKO() 0.007s passed
retrieveCreatedMaestroShouldReturnOK() 0.028s passed

Standard output

- Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.libertya.api.PaySchedulesIntegrationTests], using SpringBootContextLoader
- Could not detect default resource locations for test class [org.libertya.api.PaySchedulesIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
- Could not detect default configuration classes for test class [org.libertya.api.PaySchedulesIntegrationTests]: PaySchedulesIntegrationTests 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.PaySchedulesIntegrationTests
- 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@5342032a, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@239d9cb7, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@5a35ae82, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@1ab21633, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@59aa1d1c, org.springframework.test.context.support.DirtiesContextTestExecutionListener@169d4aba, org.springframework.test.context.event.EventPublishingTestExecutionListener@612bb755, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@6ba226cd, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@62e99458, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@1eddca25, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@22f057b4, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@581e8969, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@767b9d66]
2026-07-03 16:59:43.653 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:43.655 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4MywiZXhwIjoyNjQ3MDExNTgzfQ.MbuWL8MQgMtIROQRYPrGgDnuhvjth9FaWD6T2G
2026-07-03 16:59:43.663 INFO - PayScheduleController.addPaySchedule Arg1: class PaySchedule {,     adClientId: 1010016,     adComponentobjectuid: null,     adOrgId: 1010053,     cPaymenttermId: 1010085,     cPayscheduleId: null,     created: null,     createdby: null,     discount: 0,     discountapplicationtype: null,     discountdays: 0,     gracedays: 0,     isactive: null,     isvalid: true,     netday: null,     netdays: 30,     percentage: 100.000000,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:43.726 INFO - PayScheduleController.addPaySchedule: <200 OK OK,1010479,[]>
1010479
2026-07-03 16:59:43.732 INFO - PayScheduleController.retrievePaySchedule Arg1: 1010479,  
2026-07-03 16:59:43.753 INFO - PayScheduleController.retrievePaySchedule: <200 OK OK,class PaySchedule {,     adClientId: 1010016,     adComponentobjectuid: CORE-C_PaySchedule-20260703165943693-728149,     adOrgId: 1010053,     cPaymenttermId: 1010085,     cPayscheduleId: 1010479,     created: 2026-07-03 16:59:43.676384,     createdby: 1010717,     discount: 0.000000,    
2026-07-03 16:59:43.760 INFO - PayScheduleController.updatePaySchedule Arg1: 1010479, Arg2: class PaySchedule {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     cPaymenttermId: null,     cPayscheduleId: null,     created: null,     createdby: null,     discount: null,     discountapplicationtype: null,     discountdays: null,     gracedays: null,     isactive: null,     isvalid: null,     netday: null,     netdays: null,     percentage: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:43.784 INFO - PayScheduleController.updatePaySchedule: <200 OK OK,[]>
2026-07-03 16:59:43.790 INFO - PayScheduleController.updatePaySchedule Arg1: -1, Arg2: class PaySchedule {,     adClientId: null,     adComponentobjectuid: null,     adOrgId: null,     cPaymenttermId: null,     cPayscheduleId: null,     created: null,     createdby: null,     discount: null,     discountapplicationtype: null,     discountdays: null,     gracedays: null,     isactive: null,     isvalid: null,     netday: null,     netdays: null,     percentage: null,     updated: null,     updatedby: null,     additionalvalues: null,     referencedvalues: null, },  
2026-07-03 16:59:43.794 INFO - PayScheduleController.updatePaySchedule: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:43.800 INFO - PayScheduleController.deletePaySchedule Arg1: 1010479,  
2026-07-03 16:59:43.835 INFO - PayScheduleController.deletePaySchedule: <204 NO_CONTENT No Content,[]>
2026-07-03 16:59:43.842 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:43.844 INFO - SecurityController.keygen: <200 OK OK,Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJKV1RCdWlsZGVyIiwic3ViIjoiQWRtaW5MaWJlcnR5YSIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiJdLCJ1c2VyTmFtZSI6IkFkbWluTGliZXJ0eWEiLCJjbGllbnRJRCI6MTAxMDAxNiwib3JnSUQiOjEwMTAwNTMsImlhdCI6MTc4MzA5Nzk4MywiZXhwIjoyNjQ3MDExNTgzfQ.MbuWL8MQgMtIROQRYPrGgDnuhvjth9FaWD6T2G
2026-07-03 16:59:43.851 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:43.852 INFO - SecurityController.keygen: <403 FORBIDDEN Forbidden,[]>
2026-07-03 16:59:43.865 INFO - PayScheduleController.deletePaySchedule Arg1: -1,  
2026-07-03 16:59:43.869 INFO - PayScheduleController.deletePaySchedule: <404 NOT_FOUND Not Found,[]>
2026-07-03 16:59:43.875 INFO - PayScheduleController.deletePaySchedule Arg1: 1000026,  
2026-07-03 16:59:43.878 INFO - PayScheduleController.deletePaySchedule: <401 UNAUTHORIZED Unauthorized,Token de acceso limitado a compañía 1010016,[]>