GetCurrentUser

1

tests

0

failures

0

ignored

1.408s

duration

100%

successful

Tests

Test Duration Result
shouldFetchCurrentLoginUser() 1.408s passed

Standard output

2026-08-10T13:33:24.399Z  INFO 368 --- [    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-10T13:33:24.403Z  INFO 368 --- [    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 13:33:25 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": "850ac35e-e785-48e9-84c1-aaaef1acaeda",
        "personType": "NATURAL_PERSON",
        "tradeName": null,
        "salutation": null,
        "title": null,
        "givenName": "Alex",
        "familyName": "Hostmaster"
    },
    "globalAdmin": true
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
shouldFetchCurrentLoginUser(): TOTAL OBJECT COUNT (after): 210 -> 210