HsOfficeCoopSharesTransactionControllerRestTest

10

tests

0

failures

0

ignored

0.084s

duration

100%

successful

Tests

Test Method name Duration Result
postsNewCoopSharesTransaction() postsNewCoopSharesTransaction() 0.024s passed
[1] testCase=MEMBERSHIP_UUID_MISSING respondWithBadRequest(BadRequestTestCases)[1] 0.011s passed
[2] testCase=TRANSACTION_TYPE_MISSING respondWithBadRequest(BadRequestTestCases)[2] 0.006s passed
[3] testCase=VALUE_DATE_MISSING respondWithBadRequest(BadRequestTestCases)[3] 0.007s passed
[4] testCase=SHARES_COUNT_FOR_SUBSCRIPTION_MUST_BE_POSITIVE respondWithBadRequest(BadRequestTestCases)[4] 0.006s passed
[5] testCase=SHARES_COUNT_FOR_CANCELLATION_MUST_BE_NEGATIVE respondWithBadRequest(BadRequestTestCases)[5] 0.005s passed
[6] testCase=SHARES_COUNT_MUST_NOT_BE_NULL respondWithBadRequest(BadRequestTestCases)[6] 0.006s passed
[7] testCase=REFERENCE_MISSING respondWithBadRequest(BadRequestTestCases)[7] 0.006s passed
[8] testCase=REFERENCE_TOO_SHORT respondWithBadRequest(BadRequestTestCases)[8] 0.007s passed
[9] testCase=REFERENCE_TOO_LONG respondWithBadRequest(BadRequestTestCases)[9] 0.006s passed

Standard output

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

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

 :: Spring Boot ::                (v3.5.5)

2026-08-10T16:28:09.805Z  INFO 235 --- [    Test worker] eCoopSharesTransactionControllerRestTest : Starting HsOfficeCoopSharesTransactionControllerRestTest using Java 21.0.11 with PID 235 (started by root in /home/tallyman/hs.hsadmin.ng/.git/gittally/worktrees/master-fc613b4dfd67)
2026-08-10T16:28:09.805Z  INFO 235 --- [    Test worker] eCoopSharesTransactionControllerRestTest : The following 2 profiles are active: "fake-jwt", "test"
2026-08-10T16:28:10.080Z  INFO 235 --- [    Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-08-10T16:28:10.080Z  INFO 235 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet ''
2026-08-10T16:28:10.080Z  INFO 235 --- [    Test worker] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 0 ms
2026-08-10T16:28:10.083Z  INFO 235 --- [    Test worker] eCoopSharesTransactionControllerRestTest : Started HsOfficeCoopSharesTransactionControllerRestTest in 0.29 seconds (process running for 22.691)