GetCurrentUser
Tests
| Test |
Duration |
Result |
| shouldFetchCurrentLoginUser() |
1.306s |
passed |
Standard output
2026-08-10T15:03:59.539Z INFO 373 --- [ 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-10T15:03:59.541Z INFO 373 --- [ 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 15:04:00 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": "94fc5105-92f2-4dbe-93b0-d3ca9924eefc",
"personType": "NATURAL_PERSON",
"tradeName": null,
"salutation": null,
"title": null,
"givenName": "Alex",
"familyName": "Hostmaster"
},
"globalAdmin": true
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
shouldFetchCurrentLoginUser(): TOTAL OBJECT COUNT (after): 210 -> 210