PostNewSepaMandate

4

tests

0

failures

0

ignored

5.190s

duration

100%

successful

Tests

Test Duration Result
globalAdmin_canNotPostNewSepaMandateWhenDebitorUuidIsMissing() 1.445s passed
globalAdmin_canNotPostNewSepaMandate_ifBankAccountDoesNotExist() 1.193s passed
globalAdmin_canNotPostNewSepaMandate_ifDebitorDoesNotExist() 1.194s passed
globalAdmin_canPostNewSepaMandate() 1.358s 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:44731/api/hs/office/sepamandates/aefde4da-7949-408d-bef3-722f2df4c832
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 16:32:28 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "uuid": "aefde4da-7949-408d-bef3-722f2df4c832",
    "debitor": {
        "uuid": "18211847-5e8f-4a77-b499-c402795e4d0d",
        "debitorRel": {
            "uuid": "e2b8d65e-41de-4bc9-a55e-23f5b6a2f03b",
            "anchor": {
                "uuid": "b8d03ede-7c1b-4f1b-88b4-14f39f9edb42",
                "personType": "INCORPORATED_FIRM",
                "tradeName": "Third OHG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "b8d03ede-7c1b-4f1b-88b4-14f39f9edb42",
                "personType": "INCORPORATED_FIRM",
                "tradeName": "Third OHG",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "75e70f65-f08d-4811-8d79-636ebe498e37",
                "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": "6e64c559-27b7-4a1d-8916-bcff87dab2b6",
            "partnerNumber": "P-10003",
            "partnerRel": {
                "uuid": "59010751-306f-4f33-a5f4-15a79f8f0f32",
                "anchor": {
                    "uuid": "dec68a50-b2c0-4351-a344-f986596b8acb",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "b8d03ede-7c1b-4f1b-88b4-14f39f9edb42",
                    "personType": "INCORPORATED_FIRM",
                    "tradeName": "Third OHG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "75e70f65-f08d-4811-8d79-636ebe498e37",
                    "caption": "third contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@thirdcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "56538b4d-be1e-4e55-abd9-1b6177f46532",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "billable": true,
        "vatId": null,
        "vatCountryCode": null,
        "vatBusiness": true,
        "vatReverseCharge": false,
        "refundBankAccount": {
            "uuid": "02f4cb8b-840b-46c4-8d3b-39ae806a5f1e",
            "holder": "Third OHG",
            "iban": "DE02300209000106531065",
            "bic": "CMCIDEDD"
        },
        "defaultPrefix": "thi"
    },
    "bankAccount": {
        "uuid": "423d7099-f7db-407c-9a48-b3e6c4b7b4c5",
        "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 16:32:30 GMT
Connection: close

{
    "timestamp": "2026-08-10 04:32:30",
    "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 16:32:31 GMT
Connection: close

{
    "timestamp": "2026-08-10 04:32:31",
    "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