PostNewSepaMandate

4

tests

0

failures

0

ignored

5.146s

duration

100%

successful

Tests

Test Duration Result
globalAdmin_canNotPostNewSepaMandateWhenDebitorUuidIsMissing() 1.332s passed
globalAdmin_canNotPostNewSepaMandate_ifBankAccountDoesNotExist() 1.299s passed
globalAdmin_canNotPostNewSepaMandate_ifDebitorDoesNotExist() 1.243s passed
globalAdmin_canPostNewSepaMandate() 1.272s 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:37195/api/hs/office/sepamandates/dbdfae6a-2adf-400f-9bec-f3d801db918e
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:06:36 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "uuid": "dbdfae6a-2adf-400f-9bec-f3d801db918e",
    "debitor": {
        "uuid": "09c1a779-99d1-4e6b-a61e-c3a99e95f038",
        "debitorRel": {
            "uuid": "c6b4223a-5e1b-447c-8d51-5cc0eab16150",
            "anchor": {
                "uuid": "e3ac44d5-488b-472e-9aa5-3fa76a3322cd",
                "personType": "INCORPORATED_FIRM",
                "tradeName": "Third OHG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "e3ac44d5-488b-472e-9aa5-3fa76a3322cd",
                "personType": "INCORPORATED_FIRM",
                "tradeName": "Third OHG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "05baa815-8b92-4ea4-b8fa-03f10a8d36cf",
                "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": "4a11aeab-817e-422f-a2f6-7dfb1b34a8e2",
            "partnerNumber": "P-10003",
            "partnerRel": {
                "uuid": "ad18598e-f5bf-4b37-ac59-1bc437665361",
                "anchor": {
                    "uuid": "fe35fd05-1333-4976-bf54-a56e4400148a",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "e3ac44d5-488b-472e-9aa5-3fa76a3322cd",
                    "personType": "INCORPORATED_FIRM",
                    "tradeName": "Third OHG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "05baa815-8b92-4ea4-b8fa-03f10a8d36cf",
                    "caption": "third contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@thirdcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "e674cb59-53a6-44b1-822a-8d9c51c0e1ef",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "billable": true,
        "vatId": null,
        "vatCountryCode": null,
        "vatBusiness": true,
        "vatReverseCharge": false,
        "refundBankAccount": {
            "uuid": "8a96761d-6e00-4cf0-bba5-75be689aaba4",
            "holder": "Third OHG",
            "iban": "DE02300209000106531065",
            "bic": "CMCIDEDD"
        },
        "defaultPrefix": "thi"
    },
    "bankAccount": {
        "uuid": "254ed054-8987-4388-81e1-dae6aaad752c",
        "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 15:06:38 GMT
Connection: close

{
    "timestamp": "2026-08-10 03:06:38",
    "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 15:06:39 GMT
Connection: close

{
    "timestamp": "2026-08-10 03:06:39",
    "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