2026-08-10T13:33:15.621Z INFO 368 --- [ Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [net.hostsharing.hsadminng.hs.accounts.HsAccountControllerAcceptanceTest$PostNewAccount]: PostNewAccount does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-08-10T13:33:15.622Z INFO 368 --- [ Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration net.hostsharing.hsadminng.HsadminNgApplication for test class net.hostsharing.hsadminng.hs.accounts.HsAccountControllerAcceptanceTest$PostNewAccount
ContextBasedTestWithCleanup.retrieveInitialTestData
shouldRejectCreatingAccountForNonNaturalPerson(): TOTAL OBJECT COUNT (initial): 210 -> 210
HTTP/1.1 400
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:16 GMT
Connection: close
{
"timestamp": "2026-08-10 01:33:16",
"path": "",
"statusCode": 400,
"statusPhrase": "Bad Request",
"message": "ERROR: [400] Nur natürliche Personen sind erlaubt, aber cbf4fc6a-b1a2-434d-8795-27fc7d0656d6 ist LEGAL_PERSON"
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
shouldRejectCreatingAccountForNonNaturalPerson(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
shouldRejectCreatingAccountIfNotGlobalAdmin(): TOTAL OBJECT COUNT (initial): 210 -> 210
toCleanup(class net.hostsharing.hsadminng.hs.office.person.HsOfficePersonRealEntity, 83d793f6-95d5-4c1e-83fe-3cb241c5ff3a
2026-08-10T13:33:18.052Z WARN 368 --- [o-auto-1-exec-7] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: P0001
2026-08-10T13:33:18.052Z ERROR 368 --- [o-auto-1-exec-7] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: [403] subject tst-drew_selfregistered has no permission to assume role rbac.global#global:ADMIN
Where: PL/pgSQL function rbac.determinecurrentsubjectorassumedrolesuuids(uuid[],text) line 49 at RAISE
PL/pgSQL function base.contextdefined(character varying,text,character varying,character varying,text) line 26 at assignment
SQL statement "call base.contextDefined(currentTask, currentRequest, currentSubject, assumedRoles, currentSubjectGroups)"
PL/pgSQL function base.definecontext(character varying,text,character varying,text,text) line 23 at CALL
HTTP/1.1 403
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:18 GMT
Keep-Alive: timeout=60
Connection: keep-alive
{
"timestamp": "2026-08-10 01:33:18",
"path": "",
"statusCode": 403,
"statusPhrase": "Forbidden",
"message": "ERROR: [403] Das Subjekt tst-drew_selfregistered hat keine Berechtigung, die Rolle rbac.global#global:ADMIN anzunehmen"
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
DELETING temporary HsOfficePersonRealEntity#83d793f6-95d5-4c1e-83fe-3cb241c5ff3a deleted 1 rows
shouldRejectCreatingAccountIfNotGlobalAdmin(): TOTAL OBJECT COUNT (after): 210 -> 210