FakeJwtControllerRestTest

1

tests

0

failures

0

ignored

0.130s

duration

100%

successful

Tests

Test Duration Result
tokenReturnsBearerTokenForGivenUsernameAndScope() 0.130s passed

Standard output

2026-08-10T14:40:58.267Z  INFO 233 --- [    Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [net.hostsharing.hsadminng.config.FakeJwtControllerRestTest]: FakeJwtControllerRestTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-08-10T14:40:58.275Z  INFO 233 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration net.hostsharing.hsadminng.HsadminNgApplication for test class net.hostsharing.hsadminng.config.FakeJwtControllerRestTest

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

 :: Spring Boot ::                (v3.5.5)

2026-08-10T14:40:58.310Z  INFO 233 --- [    Test worker] n.h.h.config.FakeJwtControllerRestTest   : Starting FakeJwtControllerRestTest 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:58.311Z  INFO 233 --- [    Test worker] n.h.h.config.FakeJwtControllerRestTest   : The following 2 profiles are active: "fake-jwt", "test"
2026-08-10T14:40:58.784Z  INFO 233 --- [    Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-08-10T14:40:58.785Z  INFO 233 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet ''
2026-08-10T14:40:58.786Z  INFO 233 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 1 ms
2026-08-10T14:40:58.795Z  INFO 233 --- [    Test worker] n.h.h.config.FakeJwtControllerRestTest   : Started FakeJwtControllerRestTest in 0.517 seconds (process running for 13.024)
2026-08-10T14:40:58.846Z  INFO 233 --- [    Test worker] n.h.hsadminng.config.FakeJwtController   : Fake JWT: Issuing token for user: test-user@hostsharing.net