BaseWebSecurityConfigRestTest

2

tests

0

failures

0

ignored

0.155s

duration

100%

successful

Tests

Test Duration Result
requestToAnArbitraryPathWhichIsNotApiShouldReturnUnauthorized() 0.011s passed
requestToPathApiShouldReturnNotFound() 0.144s passed

Standard output

14:40:53.660 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [net.hostsharing.hsadminng.config.BaseWebSecurityConfigRestTest]: BaseWebSecurityConfigRestTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
14:40:53.894 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration net.hostsharing.hsadminng.HsadminNgApplication for test class net.hostsharing.hsadminng.config.BaseWebSecurityConfigRestTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v3.5.5)

2026-08-10T14:40:54.613Z  INFO 233 --- [    Test worker] n.h.h.c.BaseWebSecurityConfigRestTest    : Starting BaseWebSecurityConfigRestTest using Java 21.0.11 with PID 233 (started by root in /home/tallyman/hs.hsadmin.ng/.git/gittally/worktrees/mihoe_pmd-cognitive-complexity-refactorings-376268732714)
2026-08-10T14:40:54.616Z  INFO 233 --- [    Test worker] n.h.h.c.BaseWebSecurityConfigRestTest    : The following 2 profiles are active: "fake-jwt", "test"
2026-08-10T14:40:57.555Z  INFO 233 --- [    Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-08-10T14:40:57.555Z  INFO 233 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet ''
2026-08-10T14:40:57.557Z  INFO 233 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 1 ms
2026-08-10T14:40:57.599Z  INFO 233 --- [    Test worker] n.h.h.c.BaseWebSecurityConfigRestTest    : Started BaseWebSecurityConfigRestTest in 3.631 seconds (process running for 11.828)