DeleteSepaMandate
Tests
| Test |
Duration |
Result |
| bankAccountAdminUser_canNotDeleteRelatedSepaMandate() |
1.340s |
passed |
| globalAdmin_canDeleteArbitrarySepaMandate() |
1.400s |
passed |
| normalUser_canNotDeleteUnrelatedSepaMandate() |
1.443s |
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:40:19.007Z WARN 380 --- [o-auto-1-exec-6] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: P0001
2026-08-10T16:40:19.007Z ERROR 380 --- [o-auto-1-exec-6] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: [403] Subject {784193d8-30b4-5f2f-ba0e-bc34a6e1108b} is not allowed to delete hs_office.sepamandate uuid 646e6742-f4e1-483d-9867-f7adc7dff55a
Where: PL/pgSQL function hs_office.sepamandate_instead_of_delete_tf() line 7 at RAISE
{
"timestamp": "2026-08-10 04:40:19",
"path": "",
"statusCode": 403,
"statusPhrase": "Forbidden",
"message": "ERROR: [403] Subject {784193d8-30b4-5f2f-ba0e-bc34a6e1108b} is not allowed to delete hs_office.sepamandate uuid 646e6742-f4e1-483d-9867-f7adc7dff55a"
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
bankAccountAdminUser_canNotDeleteRelatedSepaMandate(): TOTAL OBJECT COUNT (after): 210 -> 210