GetCurrentUser

1

tests

0

failures

0

ignored

1.426s

duration

100%

successful

Tests

Test Duration Result
shouldFetchCurrentLoginUser() 1.426s passed

Standard output

2026-08-10T16:37:53.570Z  INFO 371 --- [    Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [net.hostsharing.hsadminng.hs.accounts.HsAccountControllerAcceptanceTest$GetCurrentUser]: GetCurrentUser does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-08-10T16:37:53.574Z  INFO 371 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration net.hostsharing.hsadminng.HsadminNgApplication for test class net.hostsharing.hsadminng.hs.accounts.HsAccountControllerAcceptanceTest$GetCurrentUser
ContextBasedTestWithCleanup.retrieveInitialTestData
shouldFetchCurrentLoginUser(): TOTAL OBJECT COUNT (initial): 210 -> 210
HTTP/1.1 200 
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 16:37:54 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "subject": {
        "uuid": "e72bcbba-3efe-5275-b57a-5194ece1cfa9",
        "name": "hsh-alex_superuser",
        "organization": "hsh",
        "type": "USER"
    },
    "person": {
        "uuid": "34f434f5-be5e-4dd3-8e2f-9a625f3c9d82",
        "personType": "NATURAL_PERSON",
        "tradeName": null,
        "salutation": null,
        "title": null,
        "givenName": "Alex",
        "familyName": "Hostmaster"
    },
    "globalAdmin": true
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
shouldFetchCurrentLoginUser(): TOTAL OBJECT COUNT (after): 210 -> 210