HsAccountControllerRestTest

25

tests

0

failures

0

ignored

0.545s

duration

100%

successful

Tests

Test Duration Result
deleteByAccountDeletesExisingAccount() 0.011s passed
getByUuidFetchesSingleAccount() 0.011s passed
getByUuidForUnknownAccountUuidReturnsNotFound() 0.008s passed
getCurrentLoginUserReturnsOnwAccount() 0.015s passed
getCurrentLoginUserWithoutOwnAccountReturnsSubjectWithoutPerson() 0.009s passed
getListOfAccountsForCurrentSubjectReturnsAccountsOfSamePerson() 0.010s passed
getListOfAccountsForGivenPersonUuidReturnsThatPersonsAccounts() 0.011s passed
getListOfAccountsForGlobalAdminReturnsAllAccounts() 0.019s passed
getListOfAccountsForInaccessiblePersonUuidReturnsErrorMessage() 0.013s passed
postNewAccountForSubjectWhichAlreadyHasAnAccountIsRejected() 0.013s passed
postNewAccountReferencingAnExistingUserSubjectUsesThatSubject() 0.012s passed
postNewAccountReferencingAnUnknownSubjectUuidIsRejected() 0.010s passed
postNewAccountRejectsCreatingAccountForNonNaturalPerson() 0.010s passed
postNewAccountRejectsCreatingAccountForUnknownPersonUuid() 0.012s passed
postNewAccountSucceedsEvenIfActingGlobalAdminHasNoOwnAccount() 0.012s passed
postNewAccountWithBothSubjectAndSubjectUuidIsRejected() 0.010s passed
postNewAccountWithExistingSubjectAndNewPersonCreatesAccountAndPerson() 0.023s passed
postNewAccountWithNewSubjectCreatesThatSubject() 0.014s passed
postNewAccountWithNewSubjectOfTypeGroupIsRejected() 0.020s passed
postNewAccountWithNewSubjectWhichAlreadyExistsIsRejected() 0.010s passed
postNewAccountWithNewSubjectWithoutUuidIsRejected() 0.035s passed
postNewAccountWithSubjectUuidOfGroupSubjectIsRejected() 0.010s passed
postNewAccountWithoutAnySubjectReferenceIsRejected() 0.009s passed
postNewAccountWithoutGlobalIdsAutoAssignsThemEqual() 0.225s passed
postNewAccountsRejectsCreatingAccountWithoutPersonReference() 0.013s passed

Standard output

2026-08-10T16:36:01.629Z  INFO 235 --- [    Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [net.hostsharing.hsadminng.hs.accounts.HsAccountControllerRestTest]: HsAccountControllerRestTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-08-10T16:36:01.665Z  INFO 235 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration net.hostsharing.hsadminng.HsadminNgApplication for test class net.hostsharing.hsadminng.hs.accounts.HsAccountControllerRestTest

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

 :: Spring Boot ::                (v3.5.5)

2026-08-10T16:36:01.696Z  INFO 235 --- [    Test worker] n.h.h.h.a.HsAccountControllerRestTest    : Starting HsAccountControllerRestTest using Java 21.0.11 with PID 235 (started by root in /home/tallyman/hs.hsadmin.ng/.git/gittally/worktrees/mihoe_ci-build-performance-improvements-8da83bafd50c)
2026-08-10T16:36:01.697Z  INFO 235 --- [    Test worker] n.h.h.h.a.HsAccountControllerRestTest    : The following 2 profiles are active: "fake-jwt", "test"
2026-08-10T16:36:02.638Z  INFO 235 --- [    Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-08-10T16:36:02.638Z  INFO 235 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet ''
2026-08-10T16:36:02.640Z  INFO 235 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 2 ms
2026-08-10T16:36:02.649Z  INFO 235 --- [    Test worker] n.h.h.h.a.HsAccountControllerRestTest    : Started HsAccountControllerRestTest in 0.981 seconds (process running for 15.517)