DeleteSepaMandate
Tests
| Test |
Duration |
Result |
| bankAccountAdminUser_canNotDeleteRelatedSepaMandate() |
1.293s |
passed |
| globalAdmin_canDeleteArbitrarySepaMandate() |
1.301s |
passed |
| normalUser_canNotDeleteUnrelatedSepaMandate() |
1.415s |
passed |
Standard output
ContextBasedTestWithCleanup.retrieveInitialTestData
normalUser_canNotDeleteUnrelatedSepaMandate(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
normalUser_canNotDeleteUnrelatedSepaMandate(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canDeleteArbitrarySepaMandate(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
nothing deleted
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canDeleteArbitrarySepaMandate(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
bankAccountAdminUser_canNotDeleteRelatedSepaMandate(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
2026-08-10T16:32:18.091Z WARN 382 --- [o-auto-1-exec-9] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: P0001
2026-08-10T16:32:18.091Z ERROR 382 --- [o-auto-1-exec-9] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: [403] Subject {784193d8-30b4-5f2f-ba0e-bc34a6e1108b} is not allowed to delete hs_office.sepamandate uuid 53168053-26d2-4c98-9f41-9284d8026510
Where: PL/pgSQL function hs_office.sepamandate_instead_of_delete_tf() line 7 at RAISE
{
"timestamp": "2026-08-10 04:32:18",
"path": "",
"statusCode": 403,
"statusPhrase": "Forbidden",
"message": "ERROR: [403] Subject {784193d8-30b4-5f2f-ba0e-bc34a6e1108b} is not allowed to delete hs_office.sepamandate uuid 53168053-26d2-4c98-9f41-9284d8026510"
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
bankAccountAdminUser_canNotDeleteRelatedSepaMandate(): TOTAL OBJECT COUNT (after): 210 -> 210