PostNewSepaMandate

4

tests

0

failures

0

ignored

4.933s

duration

100%

successful

Tests

Test Duration Result
globalAdmin_canNotPostNewSepaMandateWhenDebitorUuidIsMissing() 1.200s passed
globalAdmin_canNotPostNewSepaMandate_ifBankAccountDoesNotExist() 1.245s passed
globalAdmin_canNotPostNewSepaMandate_ifDebitorDoesNotExist() 1.206s passed
globalAdmin_canPostNewSepaMandate() 1.282s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canNotPostNewSepaMandateWhenDebitorUuidIsMissing(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
nothing deleted
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canNotPostNewSepaMandateWhenDebitorUuidIsMissing(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canPostNewSepaMandate(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
HTTP/1.1 201 
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Location: http://localhost:39879/api/hs/office/sepamandates/a0dc6215-7cf1-4eb2-b0c7-0f41fc318983
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:36:02 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "uuid": "a0dc6215-7cf1-4eb2-b0c7-0f41fc318983",
    "debitor": {
        "uuid": "dbf26759-ee48-4ce2-9817-b8a456746c69",
        "debitorRel": {
            "uuid": "6b35ff8f-724a-4c4c-bfd1-f09147ee53e1",
            "anchor": {
                "uuid": "a505ccc1-85c5-41f6-9f07-f155c4aeadd5",
                "personType": "INCORPORATED_FIRM",
                "tradeName": "Third OHG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "a505ccc1-85c5-41f6-9f07-f155c4aeadd5",
                "personType": "INCORPORATED_FIRM",
                "tradeName": "Third OHG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "c4673acc-0ed0-4001-9edb-b80ab708e24b",
                "caption": "third contact",
                "postalAddress": {
                    "country": "Germany"
                },
                "emailAddresses": {
                    "main": "contact-admin@thirdcontact.example.com"
                },
                "phoneNumbers": {
                    "phone_office": "+49 123 1234567"
                }
            }
        },
        "debitorNumber": "D-1000313",
        "debitorNumberSuffix": "13",
        "partner": {
            "uuid": "33469623-2594-4fd3-86b5-21c3b18dcd08",
            "partnerNumber": "P-10003",
            "partnerRel": {
                "uuid": "75b0b5d2-8f94-4564-9d23-671b86140ddb",
                "anchor": {
                    "uuid": "99cb7c15-d0f2-4901-b38b-51bc206faa6b",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "a505ccc1-85c5-41f6-9f07-f155c4aeadd5",
                    "personType": "INCORPORATED_FIRM",
                    "tradeName": "Third OHG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "c4673acc-0ed0-4001-9edb-b80ab708e24b",
                    "caption": "third contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@thirdcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "38550a5c-dee0-4820-aca2-54debaa633ba",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "billable": true,
        "vatId": null,
        "vatCountryCode": null,
        "vatBusiness": true,
        "vatReverseCharge": false,
        "refundBankAccount": {
            "uuid": "6d023b43-846c-4ecb-b8c6-4641767e1ef4",
            "holder": "Third OHG",
            "iban": "DE02300209000106531065",
            "bic": "CMCIDEDD"
        },
        "defaultPrefix": "thi"
    },
    "bankAccount": {
        "uuid": "63071ca1-54b1-47eb-b84b-ce65fd29aec1",
        "holder": "Fourth eG",
        "iban": "DE02200505501015871393",
        "bic": "HASPDEHH"
    },
    "reference": "temp ref CAT A",
    "agreement": "2020-01-02",
    "validFrom": "2022-10-13",
    "validTo": null
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canPostNewSepaMandate(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canNotPostNewSepaMandate_ifDebitorDoesNotExist(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
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:36:03 GMT
Connection: close

{
    "timestamp": "2026-08-10 01:36:03",
    "path": "",
    "statusCode": 400,
    "statusPhrase": "Bad Request",
    "message": "ERROR: [400] debitor.uuid='00000000-0000-0000-0000-000000000000' not found or not accessible"
}
nothing deleted
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canNotPostNewSepaMandate_ifDebitorDoesNotExist(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canNotPostNewSepaMandate_ifBankAccountDoesNotExist(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
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:36:04 GMT
Connection: close

{
    "timestamp": "2026-08-10 01:36:04",
    "path": "",
    "statusCode": 400,
    "statusPhrase": "Bad Request",
    "message": "ERROR: [400] bankAccount.uuid='00000000-0000-0000-0000-000000000000' not found or not accessible"
}
nothing deleted
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canNotPostNewSepaMandate_ifBankAccountDoesNotExist(): TOTAL OBJECT COUNT (after): 210 -> 210