AuthenticationTest

10

tests

0

failures

0

ignored

0.261s

duration

100%

successful

Tests

Test Duration Result
authEndpointReturnsOkWithAuthentication() 0.026s passed
authEndpointReturnsOkWithInvalidAuthentication() 0.027s passed
authEndpointReturnsOkWithoutAuthentication() 0.018s passed
exerciseEndpointReturnsForbiddenIfUnauthenticated() 0.027s passed
tokenEndpointReturnsOkWithAuthentication() 0.014s passed
tokenEndpointReturnsOkWithInvalidAuthentication() 0.014s passed
tokenEndpointReturnsOkWithoutAuthentication() 0.014s passed
versionEndpointReturnsCurrentVersionWithAuthentication() 0.082s passed
versionEndpointReturnsCurrentVersionWithInvalidAuthentication() 0.019s passed
versionEndpointReturnsCurrentVersionWithoutAuthentication() 0.020s passed

Standard output

2024-04-08T02:53:08.515-03:00  INFO 2688632 --- [    Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [mirante.api.security.AuthenticationTest]: AuthenticationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2024-04-08T02:53:08.518-03:00  INFO 2688632 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration mirante.api.Mirante for test class mirante.api.security.AuthenticationTest