HsAccountControllerRestTest

25

tests

0

failures

0

ignored

0.506s

duration

100%

successful

Tests

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

Standard output

2026-08-10T15:02:06.731Z  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-10T15:02:06.773Z  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-10T15:02:06.797Z  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_base-tx-context-seqTxId-performance-3915db90eedb)
2026-08-10T15:02:06.798Z  INFO 235 --- [    Test worker] n.h.h.h.a.HsAccountControllerRestTest    : The following 2 profiles are active: "fake-jwt", "test"
2026-08-10T15:02:07.685Z  INFO 235 --- [    Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-08-10T15:02:07.685Z  INFO 235 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet ''
2026-08-10T15:02:07.685Z  INFO 235 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 0 ms
2026-08-10T15:02:07.693Z  INFO 235 --- [    Test worker] n.h.h.h.a.HsAccountControllerRestTest    : Started HsAccountControllerRestTest in 0.917 seconds (process running for 16.993)