HsAccountControllerRestTest

25

tests

0

failures

0

ignored

0.502s

duration

100%

successful

Tests

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

Standard output

2026-08-10T13:31:34.759Z  INFO 234 --- [    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-10T13:31:34.792Z  INFO 234 --- [    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-10T13:31:34.816Z  INFO 234 --- [    Test worker] n.h.h.h.a.HsAccountControllerRestTest    : Starting HsAccountControllerRestTest using Java 21.0.11 with PID 234 (started by root in /home/tallyman/hs.hsadmin.ng/.git/gittally/worktrees/mihoe_base-tx-context-seqTxId-performance-3915db90eedb)
2026-08-10T13:31:34.816Z  INFO 234 --- [    Test worker] n.h.h.h.a.HsAccountControllerRestTest    : The following 2 profiles are active: "fake-jwt", "test"
2026-08-10T13:31:35.741Z  INFO 234 --- [    Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-08-10T13:31:35.741Z  INFO 234 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet ''
2026-08-10T13:31:35.742Z  INFO 234 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 1 ms
2026-08-10T13:31:35.750Z  INFO 234 --- [    Test worker] n.h.h.h.a.HsAccountControllerRestTest    : Started HsAccountControllerRestTest in 0.955 seconds (process running for 16.69)